How espisebas/taskmanager works
Project type and purpose
• This is a backend monolithic REST API built with NestJS (a Node.js/TypeScript framework).
• Purpose: provide endpoints for user management, authentication (JWT-based), project management, and a task-manager module.
File structure
• src/app.module.ts and src/main.ts bootstrap a single NestJS application.
• Top-level modules:
• auth/ (login, register, JWT constants, AuthGuard, RolesGuard, decorators)
• users/ (CRUD endpoints, User entity)
• project/ (CRUD endpoints, Project entity)
• task-manager/ (CRUD endpoints, TaskManager entity, states enum)
• Each module follows the standard controller → service → entity/DTO layering (typical MVC-style).
• Entities (project.entity.ts, task-manager.entity.ts, user.entity.ts) imply an ORM (e.g., TypeORM) talking to a relational database.
• Guards & decorators enforce security and role-based access.