Add websitebuilder app
This commit is contained in:
27
.tmp/tasks/phase1-foundation/subtask_10.json
Normal file
27
.tmp/tasks/phase1-foundation/subtask_10.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"id": "phase1-foundation-10",
|
||||
"seq": "10",
|
||||
"title": "Implement JWT token utilities",
|
||||
"status": "completed",
|
||||
"depends_on": ["03"],
|
||||
"parallel": true,
|
||||
"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": [
|
||||
"generateAccessToken function created (15 min expiration)",
|
||||
"generateRefreshToken function created (7 days expiration)",
|
||||
"verifyAccessToken function created",
|
||||
"verifyRefreshToken function created",
|
||||
"JWT_SECRET added to .env.example",
|
||||
"Functions are pure and testable",
|
||||
"Unit tests written with Vitest",
|
||||
"Tests pass with 100% coverage"
|
||||
],
|
||||
"deliverables": [
|
||||
"src/lib/auth/jwt.ts",
|
||||
"src/lib/auth/__tests__/jwt.test.ts",
|
||||
".env.example (with JWT_SECRET)"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user