This project is a Java application that connects to the Contact API to retrieve all contact records.
- Java 19
- Maven 3.9.2+
mvn spring-boot:run
will setup the applcation on port 8080.
For tests, consider the command: mvn spring-boot:test-run
This application supports swagger on http://localhost:8080/swagger-ui/index.html#/
- Docker
- Docker-compose
If you are using docker, all you have to do is run mvn clean package
and
then docker-compose up -d --build
.
For calling the API, you have to execute the GET endpoint located on /api/v1/contacts
It has no authentication and will consumes the provided contact API.