Skip to content

Depermitto/witcher-dice-poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Witcher (2007) dice poker game REST API

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.

Getting started

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 --build

Alternatively, using golang:

...

go mod download
APP_ENV=dev go build -o main

Configuration

  • APP_ENV: dev, production - when set to production, http://addr:port/swagger endpoint will be hidden.

LICENSE

Licensed under the MIT license.

Releases

No releases published

Packages

No packages published