Add websitebuilder app
This commit is contained in:
28
.tmp/tasks/phase2-core-features/subtask_01.json
Normal file
28
.tmp/tasks/phase2-core-features/subtask_01.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"id": "phase2-core-features-01",
|
||||
"seq": "01",
|
||||
"title": "Create organization CRUD APIs",
|
||||
"status": "completed",
|
||||
"depends_on": [],
|
||||
"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/organizations creates organization with valid data",
|
||||
"GET /api/organizations returns user's organizations",
|
||||
"GET /api/organizations/:id returns single organization",
|
||||
"PATCH /api/organizations/:id updates organization fields",
|
||||
"DELETE /api/organizations/:id soft deletes organization",
|
||||
"All endpoints validate user permissions",
|
||||
"APIs return proper error responses"
|
||||
],
|
||||
"deliverables": [
|
||||
"src/app/api/organizations/route.ts",
|
||||
"src/app/api/organizations/[id]/route.ts",
|
||||
"src/services/organization.service.ts",
|
||||
"src/lib/db/schema.ts (organizations table)",
|
||||
"src/middleware.ts (updated for org permissions)"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user