27 lines
889 B
JSON
27 lines
889 B
JSON
{
|
|
"id": "phase2-core-features-07",
|
|
"seq": "07",
|
|
"title": "Create chat CRUD APIs",
|
|
"status": "completed",
|
|
"depends_on": ["04"],
|
|
"parallel": false,
|
|
"context_files": [
|
|
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/.tmp/sessions/phase1-foundation/context.md",
|
|
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/SPECIFICATION.md"
|
|
],
|
|
"acceptance_criteria": [
|
|
"POST /api/projects/:id/chats creates new chat",
|
|
"GET /api/projects/:id/chats returns project chats",
|
|
"GET /api/chats/:id returns single chat",
|
|
"DELETE /api/chats/:id deletes chat",
|
|
"Chats scoped to project",
|
|
"Chat title auto-generated from first message"
|
|
],
|
|
"deliverables": [
|
|
"src/app/api/projects/[id]/chats/route.ts",
|
|
"src/app/api/chats/[id]/route.ts",
|
|
"src/services/chat.service.ts",
|
|
"src/lib/db/schema.ts (chats table)"
|
|
]
|
|
}
|