This project is a way of expose what we learned about an API Rest using Spring Boot and deploying the project in environment using Heroku.
This project came to show the basics principles of an API Rest in Spring Boot, where was generated a fresh project with Spring Initializr. This project entities mapping has been made with mapstruct, DTO objects and good practices implementing this technologies. Tests was implemented using Mockito.
To execute the project at the terminal, type the command:
mvn spring-boot:run
After execute the command above, just go to the following address and visualize the project running:
http://localhost:8080/api/v1/people
You can check this API running on the cloud at:
https://peopleapirest-dio.herokuapp.com/api/v1/people
- SPRING BOOT
- ACTUATOR
- DEVTOOLS
- H2 DATABASE
- LOMBOK
- MAPSTRUCT
- MOCKITO
- HEROKU
In this project was made use of H2 embedded database.
I would like to tanks for reading until here and if you have any question or any suggestion, just contact me.
My name is VinĂcius Ornelas de Almeida and i'm diving into the career of software developer. Who knows if some time we may ending help each other?
- CONTACT