have redis working

This commit is contained in:
Nour Alharithi
2023-10-25 14:27:16 -07:00
parent 99cd43c012
commit 7181912607
9 changed files with 384 additions and 11 deletions

View File

@@ -13,6 +13,7 @@
"@project-serum/anchor": "^0.19.1-beta.1",
"@project-serum/serum": "^0.13.65",
"@solana/web3.js": "^1.22.0",
"@types/redis": "^4.0.11",
"async-mutex": "^0.4.0",
"commander": "^9.4.0",
"compression": "^1.7.4",
@@ -20,10 +21,13 @@
"dotenv": "^10.0.0",
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"ioredis": "^5.3.2",
"morgan": "^1.10.0",
"redis": "^4.6.10",
"response-time": "^2.3.2",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"socket.io-redis": "^6.1.1",
"typescript": "4.5.4",
"winston": "^3.8.1"
},
@@ -45,6 +49,7 @@
"clean": "rm -rf lib",
"start": "node lib/index.js",
"dev": "ts-node src/index.ts",
"manager": "ts-node src/wsConnectionManager.ts",
"dev:inspect": "yarn build && node --inspect ./lib/index.js",
"dev:debug": "yarn build && node --inspect-brk --inspect=2230 ./lib/index.js",
"example": "ts-node example/client.ts",