This repository hold implementation of the Witcher dice poker game (refer to this website for more info) in the form a JSON REST API server.
All endpoints are
documented here.
Or you can build with APP_ENV=dev and check out the Swagger UI, which
is built into the program.
To simply build the webservice use Docker and Docker Compose:
git clone https://github.com/Depermitto/witcher-dice-poker
cd witcher-dice-poker
docker compose up -d --buildAlternatively, using golang:
...
go mod download
APP_ENV=dev go build -o main- APP_ENV: dev, production - when set to production,
http://addr:port/swaggerendpoint will be hidden.
Licensed under the MIT license.