Learn how to use Skunk Scala library to interact with PostgreSQL database in a type-safe and non-blocking way.
make sure you have the following installed
- Modify
docker-compose.yml
andapplication.conf
to reflect your PostgreSQL credentials. - Run the following command in the project's root directory to spin up and start your postgres container in the background.
docker-compose up -d
- provided your container is up and running, execute the following command to run the application.
sbt run