In order to be able to both build and run this project, you need the following software installed in your machine:
If you're running Docker for Windows, you need to use WSL 2 by both installing it and enabling "Use the WSL 2 based engine" option in Docker settings.
The following steps assume you are in the same directory as this README file.
- (Optional) Edit the
docker-compose.ymlfile to change the database user, password, name and port. If you change the port, remember to expose it in the correpondingDockerfile, present in the tests directory - (Optional) Edit the
application.propertiesfile with the desired PostgreSQL connection string - (Optional) Run the application's tests by executing the
gradlew testcommand - Execute the
gradlew bootRuncommand to start the Spring Boot application