- Play framework
- Circe
- Jdbc
- Postgres
- Doobie
- Install or verify versions
- Java 11.0.11
- Postgres 14.4
- Docker
- May need to create an account or login if "ERROR: toomanyrequests" is encountered
- Launch Docker daemon (Desktop client)
- Open the terminal and pull the docker image:
docker pull postgres
- Start Postgres instance with docker command
docker run --name pass-bakery -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=pass -e POSTGRES_DB=bakerydb -p 5500:5432 -d postgres
- Connect with
psql -h localhost -p 5500 -d bakerydb -U postgres --pass
- On another terminal, navigate to project root and use
sbt run
to start pass-bakery - Visit an endpoint and apply evolutions when prompted