80ca4b2d9d
- Next.js 16.2.2 + React 19 + TypeScript + Tailwind v4 - Better Auth with email/password and role system (student/curator/admin) - Prisma 7 schema: User, Session, Account, Verification + full LMS model - Role-based dashboards: student /dashboard, curator /curator/dashboard, admin /admin/dashboard - Auth pages: login, register, verify-email - Better Auth API route handler - Middleware for route protection - Docker Compose with PostgreSQL 16 - Seed script with test users (admin/curator/student) - CLAUDE.md and ROADMAP.md project documentation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
42 lines
937 B
JSON
42 lines
937 B
JSON
{
|
|
"name": "lms-sb",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --project tsconfig.json prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^7.6.0",
|
|
"bcryptjs": "^3.0.3",
|
|
"better-auth": "^1.6.0",
|
|
"clsx": "^2.1.1",
|
|
"next": "16.2.2",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"resend": "^6.10.0",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"dotenv": "^17.4.1",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.2",
|
|
"prisma": "^7.6.0",
|
|
"tailwindcss": "^4",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5"
|
|
}
|
|
}
|