fix(dev): bind frontend to 127.0.0.1:8080 and avoid EACCES\nfix(backend): bind server to 127.0.0.1:8081, add permissive CORS whitelist\nfix(auth): login form UX remove default username, clarify placeholder, add test account autofill\nchore(api): set frontend API_BASE_URL to 127.0.0.1:8081\nrefactor(assignments): lifecycle/state logic and archive endpoint\nfeat(analytics): add exam stats endpoint and client method\nchore(lint): add eslint configs

This commit is contained in:
Nexus Dev
2025-11-30 21:55:28 +08:00
parent 38244630a7
commit 4b84a09538
63 changed files with 8478 additions and 3694 deletions

View File

@@ -22,23 +22,24 @@
"license": "MIT",
"dependencies": {
"@prisma/client": "^5.22.0",
"express": "^4.21.1",
"axios": "^1.13.2",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"bcryptjs": "^2.4.3",
"express": "^4.21.1",
"jsonwebtoken": "^9.0.2",
"zod": "^3.23.8",
"uuid": "^11.0.3"
"uuid": "^11.0.3",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/node": "^22.10.1",
"@types/cors": "^2.8.17",
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.10.1",
"@types/uuid": "^10.0.0",
"prisma": "^5.22.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}
}