This appliaction implements game CRUD service, as per: https://insight.makimo.pl/kajappka-makimowa-zabawa-devowa/
The following environment variables can be used to customize the response:
VERIFIER_URI
- the URL of authentication service, defaults to http://localhost:8000/success,PORT
- the port which the service listens on, defaults to 9001,DB_PATH
- the path of the Sqlite database used, defaults to$HOME/.games
.
lein api
lein build
lein with-profile api ring uberwar
lein test
For development, you can use provided Docker Compose startup file as follows:
$ docker-compose -f docker/development/docker-compose.yml up
It boots the Mock Verifier container and the game
service itself for local testing and exposes the service at http://localhost:9001