first version of socket server

This commit is contained in:
mostafayavari
2023-10-01 11:56:37 +03:30
commit 0cab8d2430
11 changed files with 3498 additions and 0 deletions

33
package.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "notificationserver",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tsc",
"start": "node dist/index.js",
"dev": "concurrently \"npx tsc --watch\" \"nodemon -q index.js\""
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@types/socket.io": "^3.0.2",
"body-parser": "^1.20.2",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-validator": "^7.0.1",
"socket.io": "^4.7.2",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/node": "^20.6.2",
"@types/swagger-ui-express": "^4.1.4",
"concurrently": "^8.2.1",
"nodemon": "^3.0.1",
"typescript": "^5.2.2"
}
}