Learn More about project here
- go 1.17
- docker & docker-compose
- golangci-lint (optional, used to run code checks)
- swag (optional, used to re-generate swagger documentation)
Create .env file in root directory and add following values:
APP_ENV=local
MONGO_URI=mongodb://mongodb:27017
MONGO_USER=admin
MONGO_PASS=qwerty
PASSWORD_SALT=<random string>
JWT_SIGNING_KEY=<random string>
HTTP_HOST=localhost
Use make run
to build&run project, make lint
to check code with linter.