mirror of
https://github.com/Tony0410/quietthanks.git
synced 2026-05-24 21:31:41 +08:00
- Add users and sessions tables to database schema - Add bcryptjs for password hashing - Create auth API routes (login, register, logout, me) - Add AuthProvider context for client-side auth state - Update all API routes to require authentication and filter by userId - Create login and register pages - Add AppShell component for authenticated layout - Update all pages to use AppShell and show user info - Each user now has their own private entries and tags Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
40 lines
961 B
JSON
40 lines
961 B
JSON
{
|
|
"name": "quietthanks",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "tsx src/lib/db/migrate.ts",
|
|
"db:studio": "drizzle-kit studio"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^3.0.3",
|
|
"better-sqlite3": "^12.6.2",
|
|
"drizzle-orm": "^0.45.1",
|
|
"lucide-react": "^0.562.0",
|
|
"next": "16.1.3",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"uuid": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/uuid": "^10.0.0",
|
|
"drizzle-kit": "^0.31.8",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.3",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|