This project is a backend application built to facilitate task management and authentication. It's implemented using Java Spring Boot framework.
Interact with the API through the following endpoints:
- POST
/api/auth/register
- POST
/api/auth/login
- GET
/api/users/me
- GET
/api/users
(Only accessible to ADMIN) - GET
/api/tasks
- GET
/api/tasks/{id}
- GET
/api/tasks/title/{title}
- GET
/api/tasks/completed/{completed}
- POST
/api/tasks
- PUT
/api/tasks/{id}
- DELETE
/api/tasks/{id}
Authentication via a JWT access token is required for certain endpoints.
Ensure you have the following installed:
- Java 17
- Spring Boot 3
- PostgreSQL 15
- Clone this repository.
- Create a PostgreSQL database named
TaskManager-db
. - update file application-dev in resounces => add ur credentials
- Configure your database connection settings in the
application.yml
file. - Run the application using
./mvnw spring-boot:run
.