Implement: HTTP handlers and routing — dashboard, categories, and review endpoints #17
Labels
No labels
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:prototype
wayfinder:research
wayfinder:research
wayfinder:task
wayfinder:task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gaetan/knowledgify#17
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?
Wayfinder map: #1
Dependencies: #13 (project scaffolding), #16 (SM-2 review engine), #15 (database layer)
Description
Build the HTTP layer: routing, handlers wired to database and review packages, JSON responses. No templates yet — just routing and handler logic.
Tasks
web/handlers/packagenet/httpServeMux for routingGET /— dashboard (JSON: stats, due count, category summary)GET /categories— list categories with card countsGET /review— get next review card (JSON: card data + session info)POST /review/rate— submit rating (JSON body: card_id, rating)/review/rateresponse:Acceptance criteria
/review/ratereturns next card or session complete