Basic CRUD APIs (tasks, events, projects) #5

Closed
opened 2026-01-28 19:02:58 +00:00 by jason.woltje · 0 comments
Owner

Implement basic CRUD endpoints for core entities.

Tasks API:

  • GET /api/tasks - List tasks (with filters)
  • GET /api/tasks/:id - Get task
  • POST /api/tasks - Create task
  • PATCH /api/tasks/:id - Update task
  • DELETE /api/tasks/:id - Delete task

Events API:

  • GET /api/events - List events (with date range)
  • GET /api/events/:id - Get event
  • POST /api/events - Create event
  • PATCH /api/events/:id - Update event
  • DELETE /api/events/:id - Delete event

Projects API:

  • GET /api/projects - List projects
  • GET /api/projects/:id - Get project (with tasks)
  • POST /api/projects - Create project
  • PATCH /api/projects/:id - Update project
  • DELETE /api/projects/:id - Delete project

Requirements:

  • DTOs with validation (class-validator)
  • Proper error handling
  • OpenAPI/Swagger documentation
  • Unit tests for services
Implement basic CRUD endpoints for core entities. **Tasks API:** - GET /api/tasks - List tasks (with filters) - GET /api/tasks/:id - Get task - POST /api/tasks - Create task - PATCH /api/tasks/:id - Update task - DELETE /api/tasks/:id - Delete task **Events API:** - GET /api/events - List events (with date range) - GET /api/events/:id - Get event - POST /api/events - Create event - PATCH /api/events/:id - Update event - DELETE /api/events/:id - Delete event **Projects API:** - GET /api/projects - List projects - GET /api/projects/:id - Get project (with tasks) - POST /api/projects - Create project - PATCH /api/projects/:id - Update project - DELETE /api/projects/:id - Delete project **Requirements:** - DTOs with validation (class-validator) - Proper error handling - OpenAPI/Swagger documentation - Unit tests for services
jason.woltje added this to the M1-Foundation (0.0.1) milestone 2026-01-28 19:02:58 +00:00
jason.woltje added the apip0 labels 2026-01-28 19:02:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#5