Files
Kunthawat Greethong 4d1bb6892b
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / lint (push) Has been cancelled
Add websitebuilder app
2026-01-26 12:50:12 +07:00

29 lines
1.1 KiB
JSON

{
"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)"
]
}