Implementation of the infamous Tour le shit backend using GoLang.
You can run the app in many different ways:
go run main.go
For running the app with live reload support use air and then run the command:
air
go build
For convenient use .env
file in root folder. Check .env.default
for default values
key | description |
---|---|
DATABASE_NAME | Database name |
DATABASE_PASSWORD | Database password |
DATABASE_USER | Database user |
MEMBERS_MODE | MOCK or PSQL |
PORT | Server port |
SCORE_MODE | MOCK or PSQL |