This is a sample I made implementing a REST API using Spring Boot. It provides operations to manage a customer record.
Building the project:
mvn clean package
Docker compose for starting the application and a Postgresql database:
docker-compose up --build
- Spring Boot
- Spring Data
- Postgresql
- Flyway
- Validation
- Message Bundle
- Swagger
- Docker
This is a Postman collection that can be imported to make some tests:
renato-cliente.postman_collection.json
Swagger for the API
http://localhost:8080/swagger-ui.html