This is an exam for apply to PageConsulting as Senior Backend Developer.
Clone the repository to your local file system, go into the project location and execute the sentence below.
./mvnw clean package && java -jar target/customersatisfaction-0.0.1-SNAPSHOT.jar
mvnw clean package && java -jar target/customersatisfaction-0.0.1-SNAPSHOT.jar
And now go to Documentation section to see the API Docs on the web.
To see the coverage go to:
https://sonarcloud.io/dashboard?id=rrangelo_CustomerSatisfactionExam
To running on Docker
./mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=rrangelo/customer_satisfaction
mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=rrangelo/customer_satisfaction
After you need execute this command:
docker run -p 8080:8080 -t rrangelo/customersatisfaction
There are 6 endpoints to manage the resources.
- Customer: /customer
- Post:
- Get:
- Patch:
- Satisfaction: /satisfaction
- Post:
- Get:
- Patch:
First that all, you need build and run the project.
Further information go to http://localhost:8080/swagger-ui to see the technical documentation.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Jersey
- Spring Data MongoDB
The following guides illustrate how to use some features concretely: