A complete REST API for a To-Do list, built with Spring Boot, Java, and JPA.
1.1K
This is a complete, containerized REST API for a To-Do list, built with Java, Spring Boot, and Spring Data JPA.
This application is a portfolio project demonstrating a full backend, from code to a containerized image.
Source Code: https://github.com/rafaelSandovalR/todo-api
This image is self-contained and runs with an in-memory H2 database (no external database is required).
Pull the image from Docker Hub:
docker pull rsandoval0408/todo-api
Run the container and map your local port 8080 to the container's port 8080:
docker run -p 8080:8080 rsandoval0408/todo-api
(If your local port 8080 is in use, you can map it to 8081 instead: docker run -p 8081:8080 ...)
The API will be running and available at http://localhost:8080.
You can use a tool like Postman to test the API:
GET /api/tasks: Get a list of all tasks.GET /api/tasks/{id}: Get a single task by its ID.POST /api/tasks: Create a new task.PUT /api/tasks/{id}: Update an existing task.DELETE /api/tasks/{id}: Delete a task.Content type
Image
Digest
sha256:0b7bf6a2d…
Size
137.9 MB
Last updated
9 months ago
docker pull rsandoval0408/todo-api