twin-te / user-service

v3バックエンド / ユーザー情報を管理

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development

  1. Open the folder in the dev container.
  2. Run make bash-app in the terminal if you need.
  3. Run make protoc.
  4. Run make migrate.
  5. Run go mod tidy.
  6. Run go run main.go.

Environment Variables

Please set the following environment variables used in PostgreSQL.

  • PG_HOST
  • PG_PORT
  • PG_USERNAME
  • PG_PASSWORD
  • PG_DATABASE
  • PG_SSLMODE

Note

  • The .proto file is located in server/pb/UserService.proto.
  • For more information about migration, see here.

Architecture

About

v3バックエンド / ユーザー情報を管理


Languages

Language:Go 91.0%Language:Dockerfile 4.3%Language:Makefile 2.5%Language:PLpgSQL 2.2%