socket implementation

This commit is contained in:
2025-08-28 18:08:18 +05:30
parent 38ac249f3b
commit 45f48903fe
11 changed files with 856 additions and 14 deletions

View File

@@ -6,23 +6,27 @@
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:api": "nodemon --exec tsx src/api-server/main.ts"
"start:api": "nodemon --exec tsx src/api-server/main.ts",
"start:socket": "nodemon --exec tsx src/socket-server/index.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^2.2.0",
"cors": "^2.8.5",
"dotenv": "^17.2.0",
"dotenv": "^16.4.5",
"express": "^5.1.0",
"fs": "^0.0.1-security",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.16.3",
"nodemon": "^3.1.10",
"path": "^0.12.7"
"path": "^0.12.7",
"socket.io": "^4.8.1"
},
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^24.0.14"
}
}