Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/depermitto/witcher-dice-poker
Witcher (2007) dice poker game REST API server
https://github.com/depermitto/witcher-dice-poker
dice-poker docker docker-compose golang rest-api swagger-ui witcher
Last synced: 16 days ago
JSON representation
Witcher (2007) dice poker game REST API server
- Host: GitHub
- URL: https://github.com/depermitto/witcher-dice-poker
- Owner: Depermitto
- License: mit
- Created: 2024-11-28T17:51:46.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-12-17T23:26:11.000Z (about 2 months ago)
- Last Synced: 2024-12-18T00:25:43.922Z (about 2 months ago)
- Topics: dice-poker, docker, docker-compose, golang, rest-api, swagger-ui, witcher
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Witcher (2007) dice poker game REST API
This repository hold implementation of the Witcher dice poker game (refer
to [this website](https://witcher.fandom.com/wiki/The_Witcher_dice_poker) for more info) in the form a JSON REST API
server.All endpoints are
documented [here](https://github.com/Depermitto/witcher-dice-poker/tree/d36c053b55c0115a3a38e59cfdc514777bccba01/docs).
Or you can build with `APP_ENV=dev` and check out the [Swagger UI](https://swagger.io/tools/swagger-ui/), which
is built into the program.## Getting started
To simply build the webservice use **Docker** and **Docker Compose**:
```shell
git clone https://github.com/Depermitto/witcher-dice-poker
cd witcher-dice-pokerdocker compose up -d --build
```Alternatively, using [golang](https://go.dev/):
```shell
...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.