Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 467 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 467 Bytes

betrayal-api

The API for my Betrayal at House on the Hill companion app

Running locally

Start a Postgres instance.

docker run --name betrayal-db -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres:12.6

Run the migrations using Liquibase.

JDBC_DATABASE_URL="jdbc:postgresql:postgres?user=postgres&password=mysecretpassword" ./gradlew update

Then, start the API, providing the JDBC_DATABASE_URL environment variable.