Simple proof-of-concept boilerplate for dockerized Java Springboot API, with postgresql service in Docker Compose.
docker-compose up
GET localhost:8080/api/v1/todos
GET localhost:8080/api/v1/todos/{id}
POST localhost:8080/api/v1/todos
Body:
{
"title": "test",
"description": "test description",
"completed": false
}
PUT localhost:8080/api/v1/todos/{id}
Body:
{
"title": "test",
"description": "updated description",
"completed": true
}
DELETE localhost:8080/api/v1/todos/{id}