Files
ChessHub/backend/package.json
T
Moon Patel aa6e463b60 Game state persistency implemented. Game state is
now saved on page refresh.
The game state is stored on the server and when the user refreshes
the page the game state is fetched from the server on socket
re-connection

Next step:
stop user from making any move when the use is viewing past moves
2023-07-04 16:59:20 +05:30

27 lines
542 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",
"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"
}
}