Overview
A robust REST API for managing tasks with user authentication, built following best practices for API design.
Features
- Authentication: JWT-based authentication system
- CRUD Operations: Full create, read, update, delete for tasks
- User Management: User registration and profile management
- Validation: Input validation with Joi
- Documentation: Swagger/OpenAPI documentation
API Endpoints
POST /api/auth/register
POST /api/auth/login
GET /api/tasks
POST /api/tasks
PUT /api/tasks/:id
DELETE /api/tasks/:id
Architecture
The API follows a layered architecture with controllers, services, and data access layers for clean separation of concerns.
(0)