A simple Task Manager REST API built using Java and Spring Boot that allows users to create, manage, update, and delete tasks efficiently.
This backend service demonstrates CRUD operations, REST API design, and backend architecture principles.
Test the deployed API here:
https://task-manager-api-demo.onrender.com/tasks
Refresh or call multiple endpoints to test the API responses.
✔ Task CRUD Operations ✔ RESTful API architecture ✔ Lightweight backend service ✔ Easy API testing using Postman or Curl ✔ Clean controller-service architecture ✔ Cloud ready backend API
| Technology | Usage |
|---|---|
| Java 17 | Programming Language |
| Spring Boot | Backend Framework |
| Maven | Build Tool |
| REST API | API Architecture |
| Render | Cloud Deployment |
task-manager-api
│
├── src
│ ├── main
│ │ ├── java
│ │ │ └── task_manager
│ │ │ ├── controller
│ │ │ │ └── TaskController.java
│ │ │ │
│ │ │ ├── service
│ │ │ │ └── TaskService.java
│ │ │ │
│ │ │ └── TaskManagerApplication.java
│ │ │
│ │ └── resources
│ │ └── application.properties
│
├── pom.xml
└── README.md
Client / Browser
|
| HTTP Request
v
Spring Boot Controller
(TaskController)
|
v
Service Layer
(TaskService)
|
v
Business Logic
|
v
API Response
Client Request
|
v
Controller Layer
|
v
Service Layer
|
v
Process Request
|
v
Send Response
| Method | Endpoint | Description |
|---|---|---|
| GET | /tasks | Get all tasks |
| GET | /tasks/{id} | Get task by ID |
| POST | /tasks | Create a new task |
| PUT | /tasks/{id} | Update task |
| DELETE | /tasks/{id} | Delete task |
POST /tasks
{
"title": "Learn Spring Boot",
"description": "Practice backend development",
"completed": false
}Task created successfully 🚀
Task not found ❌
git clone https://github.com/ChinmayaKumarSingh/Task-Manager-Api.git
cd Task-Manager-Api
mvn spring-boot:run
curl https://task-manager-api-demo.onrender.com/tasks
curl -X POST https://task-manager-api-demo.onrender.com/tasks \
-H "Content-Type: application/json" \
-d '{"title":"New Task","description":"Demo Task","completed":false}'
• Add database integration (MySQL / PostgreSQL) • Add authentication using JWT • Add Swagger API documentation • Add Docker containerization • Add task priority and filtering
Chinmaya Kumar Singh
Backend Developer Java | Spring Boot | REST APIs
