feat: add User password hashing + account creation script

This commit is contained in:
2026-07-31 11:51:08 +07:00
parent 41de13b1ff
commit 43a20d8530
4 changed files with 219 additions and 1 deletions
+3 -1
View File
@@ -9,10 +9,12 @@
"lint": "next lint",
"test": "vitest run",
"postinstall": "prisma generate",
"db:migrate": "tsx scripts/migrate.ts"
"db:migrate": "tsx scripts/migrate.ts",
"user:create": "tsx scripts/create-user.ts"
},
"dependencies": {
"@prisma/client": "^5.20.0",
"bcryptjs": "^3.0.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.28.0",