Task API routes #10

Closed
opened 2026-03-22 21:43:53 +00:00 by barrettruth · 0 comments
barrettruth commented 2026-03-22 21:43:53 +00:00

Problem

Need REST API endpoints for task operations.

Solution

Next.js API routes at src/app/api/tasks/:

  • GET /api/tasks — list with filters (status, category, due, priority)
  • POST /api/tasks — create
  • GET /api/tasks/:id — get single
  • PATCH /api/tasks/:id — update
  • DELETE /api/tasks/:id — soft delete (cancel)

Auth middleware on all routes.

Depends on: #5, #9

## Problem Need REST API endpoints for task operations. ## Solution Next.js API routes at `src/app/api/tasks/`: - `GET /api/tasks` — list with filters (status, category, due, priority) - `POST /api/tasks` — create - `GET /api/tasks/:id` — get single - `PATCH /api/tasks/:id` — update - `DELETE /api/tasks/:id` — soft delete (cancel) Auth middleware on all routes. Depends on: #5, #9
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta#10
No description provided.