Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tkindy/betrayal-api
The API for my Betrayal at House on the Hill companion app
https://github.com/tkindy/betrayal-api
Last synced: 2 days ago
JSON representation
The API for my Betrayal at House on the Hill companion app
- Host: GitHub
- URL: https://github.com/tkindy/betrayal-api
- Owner: tkindy
- Created: 2020-10-21T15:22:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T02:46:31.000Z (about 2 years ago)
- Last Synced: 2023-03-07T20:57:11.290Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 437 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# betrayal-api
The API for my Betrayal at House on the Hill companion app
## Running locally
Start a Postgres instance.
```shell
docker run --name betrayal-db -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres:12.6
```Run the migrations using Liquibase.
```shell
JDBC_DATABASE_URL="jdbc:postgresql:postgres?user=postgres&password=mysecretpassword" ./gradlew update
```Then, start the API, providing the `JDBC_DATABASE_URL` environment variable.