narasimha01tm's picture
Fix: Backend auth, CORS, and proxy trust for Vercel integration
992e8cd
Raw History Blame Contribute Delete
1.24 kB
{
"name": "ai-learning-dashboard-server",
"version": "1.0.0",
"description": "Backend API for AI Learning Dashboard",
"main": "dist/server.js",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"ai",
"learning",
"dashboard",
"api"
],
"author": "",
"license": "ISC",
"dependencies": {
"bcryptjs": "^2.4.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^8.2.1",
"express-validator": "^7.3.1",
"helmet": "^8.1.0",
"joi": "^17.11.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.0.0",
"morgan": "^1.10.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
"@types/morgan": "^1.9.9",
"@types/node": "^20.10.0",
"tsx": "^4.7.0",
"typescript": "^5.3.0"
}
}