Add websitebuilder app
This commit is contained in:
26
.tmp/tasks/phase1-foundation/subtask_14.json
Normal file
26
.tmp/tasks/phase1-foundation/subtask_14.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"id": "phase1-foundation-14",
|
||||
"seq": "14",
|
||||
"title": "Create logout API",
|
||||
"status": "completed",
|
||||
"depends_on": ["13"],
|
||||
"parallel": false,
|
||||
"context_files": [
|
||||
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/.tmp/sessions/phase1-foundation/context.md",
|
||||
"/Users/kunthawatgreethong/.config/opencode/context/core/essential-patterns.md"
|
||||
],
|
||||
"acceptance_criteria": [
|
||||
"POST /api/auth/logout endpoint created",
|
||||
"Clears HTTP-only cookies",
|
||||
"Invalidates session in database",
|
||||
"Returns success response",
|
||||
"Error handling for missing session",
|
||||
"Unit tests written with Vitest",
|
||||
"Tests pass with 90%+ coverage"
|
||||
],
|
||||
"deliverables": [
|
||||
"src/app/api/auth/logout/route.ts",
|
||||
"src/services/auth.service.ts (updated)",
|
||||
"src/app/api/auth/logout/__tests__/route.test.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user