/user_api

demo

Primary LanguageGoApache License 2.0Apache-2.0

Go Web-Service Scaffold

This is a project example build with Lancer-Kit tool set.

Quick start

  1. Clone this repo:
git clone https://github.com/sheb-gregor/user_api
cd user_api
  1. 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
  1. Build docker image:
make build_docker image=user_api config=local
  1. Start all:
docker-compose up -d

Development

  • Get forge — a tool for code generation:
go get -u github.com/lancer-kit/forge