This is a project example build with Lancer-Kit tool set.
- Clone this repo:
git clone https://github.com/sheb-gregor/user_api
cd user_api
- Prepare a local configuration:
## here is secrets and other env vars
cp ./env/tmpl.env ./env/local.env
## here is configuration details
cp ./env/tmpl.config.yaml ./env/local.config.yaml
- Build docker image:
make build_docker image=user_api config=local
- Start all:
docker-compose up -d
- Get
forge
— a tool for code generation:
go get -u github.com/lancer-kit/forge