Add websitebuilder app
This commit is contained in:
27
.tmp/tasks/phase1-foundation/subtask_15.json
Normal file
27
.tmp/tasks/phase1-foundation/subtask_15.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"id": "phase1-foundation-15",
|
||||
"seq": "15",
|
||||
"title": "Create email verification API",
|
||||
"status": "completed",
|
||||
"depends_on": ["11"],
|
||||
"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/verify-email endpoint created",
|
||||
"Verifies token from request",
|
||||
"Updates user email_verified to true",
|
||||
"Deletes verification token",
|
||||
"Returns success response",
|
||||
"Error handling for expired/invalid tokens",
|
||||
"Unit tests written with Vitest",
|
||||
"Tests pass with 90%+ coverage"
|
||||
],
|
||||
"deliverables": [
|
||||
"src/app/api/auth/verify-email/route.ts",
|
||||
"src/services/auth.service.ts (updated)",
|
||||
"src/app/api/auth/verify-email/__tests__/route.test.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user