Files
ChessHub/backend/package.json
T
Moon Patel 81ff9e31a0 Authentication logic changed
JWT is now stored in cookie instead of localStorage
changed APIs:
-> /api/auth/login
-> /api/auth/signup
new APIs:
-> /api/auth/logout
2023-07-23 13:20:55 +05:30

29 lines
595 B
JSON

{
"name": "backend-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node app.js",
"dev": "nodemon app.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"chess.js": "^1.0.0-beta.6",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^8.5.1",
"mongoose": "^7.2.1",
"nodemailer": "^6.9.3",
"socket.io": "^4.6.1",
"uuid": "^9.0.0",
"zod": "^3.21.4"
}
}