This project is a simple Task Tracker RESTful API built with Spring Boot and Spring Data JPA. It allows users to manage task lists and tasks with endpoints to create, read, update, and delete (CRUD) both entities.
- Task Lists: Create, retrieve, update, and delete task lists (CRUD)
- Tasks: Add tasks to task lists with priority, status, and due date (CRUD)
- Fully RESTful structure
- Postgres Database Connectivity
- Java 21+
- Maven
- IDE (IntelliJ, VS Code, etc.)
- Docker
- PostgreSQL
# Clone the repo
git clone https://github.com/anmol420/TaskTrackerAPI.git
cd TaskTrackerAPI
# Run Docker
docker compose up -d
# Build and run the app (example for Maven)
./mvnw spring-boot:run
TaskList Endpoints
: CRUD operations for task listsTask Endpoints
: CRUD operations for tasks under a task list
POST /taskLists/createTask
GET /taskLists/getTaskList
GET /taskLists/getTaskList/{id}
PUT /taskLists/updateTaskList/{id}
DELETE /taskLists/deleteTaskList/{id}
POST /{taskListId}/tasks/createTask
GET /{taskListId}/tasks/listTasks
GET /{taskListId}/tasks/getTask/{taskId}
PUT /{taskListId}/tasks/updateTask/{taskId}
DELETE /{taskListId}/tasks/deleteTask/{taskId}