Blog
Yazı Tipi
Metin Boyutu
Satır Aralığı
Genişlik
Task Manager REST API

Task Manager REST API

A RESTful API for task management built with Node.js, Express, and MongoDB with JWT authentication.


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)