voluntas / webapp-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webapp-template

モチベーション

  • 自分がよく使う構成をまとめている
  • 自分が使いたい技術を使ってる構成

今後

  • webapp-console 追加
  • webapp-admin 追加
  • Meilisearch 追加
  • .devcontainer 化
  • Fluent Bit 追加
  • VictoriaMetrics 追加

webapp

  • ウェブフレームワークに Echo を採用
  • データベースに TimescaleDB を採用
  • データベースドライバーに pgx を採用
  • データベースクエリーに sqlc を採用
  • データベースマイグレーションに go-migrate を採用
  • ログに Zerolog を採用
  • SQL から sqlc で Go 生成して、あとは API として返すだけ
    • 方針として JSON はまるっと返す
    • Remix 側でフィルタリングする
go 1.19

require (
	github.com/go-playground/validator/v10 v10.11.1
	github.com/goccy/go-yaml v1.9.5
	github.com/golang-migrate/migrate/v4 v4.15.2
	github.com/jackc/pgx/v4 v4.17.2
	github.com/labstack/echo-contrib v0.13.0
	github.com/labstack/echo/v4 v4.9.0
	github.com/rs/zerolog v1.28.0
	github.com/shiguredo/lumberjack/v3 v3.0.0
	golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0
)

webapp-console

TBD

  • コンソール(ダッシュボード)画面
  • Cloudflare Workers
  • Remix

webapp-admin

TBD

  • 管理画面
  • Cloudflare Zero Trust でアクセス制御
  • Cloudflare Workers
  • Remix

別バージョン

LICENSE

Copyright 2022-2022, voluntas

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

License:Apache License 2.0


Languages

Language:Go 93.7%Language:Makefile 6.3%