This api provides funny sentences for "La tortuga sabia" web app. Currently is deployed in a Heroku dyno called sentences01.
Uses technologies like Java 8, Spring MVC, Spring Boot, Spring JPA, Postgresql.
method: GET link: https://sentences01.herokuapp.com/sentences/random response example:
{
"id": 3,
"author": "Maria Josefa",
"adviceVO": "Antes todo esto era campo, hijo... Menudos porrillos liábamos."
}
method: GET link: https://sentences01.herokuapp.com/sentences/id={id} response example:
{"id":2,"author":"La loca de los gatos","adviceVO":"AHHHHHHHHHHHHHHHHHHHH!"}
method: POST link: http://localhost:8081/sentences/insert headers:
{"Content-Type": "application/json"}
body:
{
"sentence":"AHHHHHHHHHHHHHHHHHHHH!"
"userName":"La loca de los gatos",
}
response example:
{
"id": 5,
"sentence": "AHHHHHHHHHHHHHHHHHHHH!",
"author": {
"userName": "wise_turtle",
"name": "La loca de los gatos"
}
}
method: GET link: http://sentences01.herokuapp.com/sentences/delete/id={id} headers:
{"Content-Type": "application/json"}
response example:
200 Ok
- Look up the ci/README.md file
- finish and beautify kotlinization
- Ci with jenkins
- Create pro environment and deploy in AWS
- Refactor some controller endpoints using the right verbs
- Tests plz
- Migrate to Gradle?