Specific tournament application which provides isolated transaction locks using SELECT ... FOR UPDATE statements.
Its built using gin-gonic for routing, gorm as ORM and viper for configuration stuff.
- Clone this repository
- Configure the project
2.1. Make sure to update
config/development.yamlto run this app manually via CLI (outside of docker container) 2.2. Make sure to updateconfig/local.yamlto run this app within docker container 2.3. You should have following env variables for docker:POSTGRES_USER,POSTGRES_PASSWORD,POSTGRES_DB - Build services
docker-compose build - Run the app with following command
docker-compose up -d