- use
CONFIGOR_ENV
environment variable to specify which config to use. available configs are
- config.dev.yml for testing and development environment, set CONFIGOR_ENV=dev (Default)
- config.prod.yml for the production environment, set CONFIGOR_ENV=prod.
Please refer to config.template.yml file to see the available field for configuration.
- Go v 1.14+
- protoc and protobuf
- protoc-gen-go-grpc module
- makefile
make init
make generate-proto
make test
make test-race
make build-server
make run-server
make run-client
Build
make docker-build
Run
make docker-run
- implement database layer to store users and chat history
- create model for the user
- add grpc interceptors
- add grpc server health check
- add kubernetes deployment