A simple RESTful Task Management API built with Java Spring Boot, using in-memory storage. This project allows users to create, read, update, delete, and mark tasks as complete.
- Overview
- Features
- Technology Stack
- Getting Started
- API Endpoints
- Sample Requests & Responses
- Design Decisions
- Unit Tests
This project implements a task management system with the following capabilities:
- Create tasks
- View all tasks
- View a task by ID
- Update task details
- Delete tasks
- Mark tasks as complete
The project uses in-memory storage (Map<Long, Task>), eliminating the need for a database.
- Fully functional CRUD operations
- Mark tasks as complete
- Input validation and error handling
- HTTP status codes used appropriately (
200,201,204,404) - Unit tests for critical functionality
- Java 21
- Spring Boot 3.5.7
- Lombok
- Maven
- JUnit 5
-
Clone the repository:
git clone <your-github-repo-link> cd Task-Management-API
-
Build the project: mvn clean install
-
Run the application: mvn spring-boot:run
-
Access API Base URL: http://localhost:8085