Task API routes #10
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
track:api
track:auto
track:core
track:deploy
track:infra
track:ui
v0.1.0
v0.1.1
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/delta#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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— createGET /api/tasks/:id— get singlePATCH /api/tasks/:id— updateDELETE /api/tasks/:id— soft delete (cancel)Auth middleware on all routes.
Depends on: #5, #9