brew install gradle
Or on Windows
choco install gradle
make
choco install make
choco install flyway
make docker
Issue a postman request that uses http://localhost:8080
with these urls
https://www.postman.com/winter-water-658702/workspace/dva-rbac-api/request/2152931-7dd8eff9-f790-4682-8394-4217a85ca927
A Postgres server is running in docker and listening on 5432
database name rbac
username user
password password
make clean-db
Startup Postgres in your local docker environment
docker pull postgres
docker run --name postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=rbac -e POSTGRES_USER=user -p 5432:5432 -d postgres
Then run the application with
SQL_HOST=localhost make run
The app is deployed to Heroku automatically when a PR is merged to main. The app is available at https://rbac-api-80ea28b95705.herokuapp.com/