Built with:
- Arquitetura REST
- Spring Boot
- Maven
- Java 1.8
- MySQL
- Flyway
- Git
- Heroku: https://place-api-cb.herokuapp.com | https://git.heroku.com/place-api-cb.git
The operations is described below.
POST https://place-api-cb.herokuapp.com/places
{
"name": "name",
"slug": "slug",
"city": "city",
"state": "state"
}
PUT https://place-api-cb.herokuapp.com/places/{id}
{
"name": "name",
"slug": "slug",
"city": "city",
"state": "state"
}
GET https://place-api-cb.herokuapp.com/places/{id}
GET https://place-api-cb.herokuapp.com/places?name={name}