The auspost-demo application is created using a SpringBoot application to develop REST APIs that will store and access suburb and postcode combinations.
Please note that installation of Docker will be required. Please follow the steps in order.
> docker pull postgres:15-alpine
> docker run --name postgresdb -e POSTGRES_PASSWORD=password -d -p 5432:5432 postgres:15-alpine
> docker exec -it postgresdb bash
> psql -U postgres
> create database demo;
The user can either load the project into a code editor such as IntelliJ and then spin up the application using the Run button or the user could use the command provided below in the terminal from the Project root.
java -jar ./target/demo1-0.0.1-SNAPSHOT.jar
username: demoUserName
password: demoUserPassword
The Jacoco Coverage Test Report could be found at target/site/jacaco.html