Educational project. REST API for task management with JWT authorization.
- NestJS
- Prisma ORM
- PostgreSQL
- JWT (jose)
- argon2
- User registration and authentication
- CRUD operations for tasks
- Task filtering by status
- Pagination
- Each user can only see their own tasks
- Clone the repository
- Install dependencies:
npm install- Create
.envfile based on.env.exampleand fill in the variables - Apply migrations:
npx prisma migrate dev- Start the project:
npm run start:devPOST /auth/login— login
POST /users/register— registration
GET /tasks— get all tasks (filters:done,page,limit)GET /tasks/:id— get task by idPOST /tasks— create taskPATCH /tasks/:id— update taskDELETE /tasks/:id— delete task
Frontend client: task-manager-client