Add websitebuilder app
This commit is contained in:
28
.tmp/tasks/phase1-foundation/subtask_11.json
Normal file
28
.tmp/tasks/phase1-foundation/subtask_11.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"id": "phase1-foundation-11",
|
||||
"seq": "11",
|
||||
"title": "Create user registration API",
|
||||
"status": "completed",
|
||||
"depends_on": ["07", "09", "10"],
|
||||
"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/register endpoint created",
|
||||
"Validates email format and password strength",
|
||||
"Hashes password before storing",
|
||||
"Creates user record in database",
|
||||
"Generates email verification token",
|
||||
"Returns user data without sensitive fields",
|
||||
"Error handling for duplicate emails",
|
||||
"Unit tests written with Vitest",
|
||||
"Tests pass with 90%+ coverage"
|
||||
],
|
||||
"deliverables": [
|
||||
"src/app/api/auth/register/route.ts",
|
||||
"src/services/auth.service.ts",
|
||||
"src/app/api/auth/register/__tests__/route.test.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user