Simple CRUD Spring Boot REST API
Ibento = 'Event' in Japanese :p
Spring Boot API REST
- Install Maven -> https://maven.apache.org/download.cgi
- Run:
mvn clean install
*If you have a good IDE it will do this on its own for you :)
- DB <-- The data is stored in a MongoDb on the cloud (see IbentoDao).
Note: no configuration needed for DB.
Run IbentoApplication
- Go here if you want to test the API:
localhost:8080/swagger-ui.html
@see (FRONT-END Angular) https://github.com/fabiostb/front-ibentos
Json de test:
{
"name": "Test",
"description": "updated",
"startDate": "2021-10-20",
"endDate": "2021-10-20"
}
Improvements (TODOs):
- i18n
- error handling (user/server/bd validations)
- logging
- mappeur with mapstruct json->pojo
- env variable in Spring Boot's application.properties
- +lombok
- ...