REST API for managing user tasks with authentication
Java 21, Spring Boot (Web, Security, Data JPA), PostgreSQL, Docker, JUnit, Mockito, Maven, Lombok
Basic task management with user authentication (roles to be added later)
net.partala.task_manager
├── auth/
│ └── jwt/
├── config/
├── tasks/
├── users/
└── web/
-
Build the project: ./mvnw clean package
-
Build and start containers: docker-compose up --build
-
Wait until logs show: "Started TaskManagerApplication"
-
Access the API: http://localhost:8080
USER_ASSIGNED_TASKS_LIMIT— limit for tasks assigned to one user
(see others indocker-compose.yml)
/auth/register /auth/login /users /tasks/{id}/start /tasks/{id}/complete /tasks/params=?creatorId=1&assignedUserId=1&status=1&priority=1&pageSize=1&pageNum=1
POST /auth/register
{
"username": "alexey",
"email": "alexey@gmail.com",
"password": "12345678"
}
POST /auth/login
{
"username": "alexey",
"password": "12345678"
}
POST /tasks
{
"title": "create front-end",
"creatorId": 1,
"deadlineDate": "2026-10-10T00:00:00",
"priority": "MEDIUM"
}
POST /tasks/{taskId}/start
{
"userId": 1
}