feat(auth): membuat user registration, login, sama pengecekan profile user yang sudah dilogin

This commit is contained in:
Rafi Athallah
2026-05-26 11:57:00 +07:00
parent 724cfd50e2
commit 4b9bc534cc
9 changed files with 506 additions and 15 deletions
+4
View File
@@ -18,15 +18,19 @@
"license": "ISC",
"dependencies": {
"@prisma/client": "^6.19.3",
"bcryptjs": "^3.0.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.3",
"morgan": "^1.10.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.10",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.12",
"prisma": "^6.19.3",