Tutorial by AlgaWorks.
From the YouTube description:
"In this video you will learn how to implement a REST API using some Spring ecosystem projects, such as Spring Boot and Spring Data JPA."
- Project: Maven
- Java: 16
- Spring Boot: 2.4.5
- Dependencies
- Spring Web
- Spring Boot DevTools
- Spring Boot Starter Test
- H2 Database
- Spring Data JPA
- Lombok
- Spring Security
- Bucket4j Spring Boot Starter
- Spring Cache Abstraction
- Ehcache
- Logback
- Plugins
- Spring Boot Maven Plugin
- Heroku Maven Plugin
Retrieves a list of all clients.
GET /clientes
[
{
"id": "uuid-1",
"nome": "client-1"
},
{
"id": "uuid-2",
"nome": "client-2"
}
]
Add a new client to the application.
POST /clientes
{
"nome": "new-client"
}
{
"id": "new-uuid",
"nome": "new-client"
}
API deployed on Heroku