- Open the folder in the dev container.
- Run
make bash-app
in the terminal if you need. - Run
make protoc
. - Run
make migrate
. - Run
go mod tidy
. - Run
go run main.go
.
Please set the following environment variables used in PostgreSQL.
- PG_HOST
- PG_PORT
- PG_USERNAME
- PG_PASSWORD
- PG_DATABASE
- PG_SSLMODE
- The
.proto
file is located inserver/pb/UserService.proto
. - For more information about migration, see here.