feat: add initial Socket.IO queue server implementation

- Created a basic Socket.IO server that manages user connections and queues for events.
- Implemented queue logic to handle concurrent user limits and JWT token issuance.
- Added MySQL configuration for potential persistence of queue positions.
- Introduced environment variables for configuration through a .env.example file.
This commit is contained in:
2025-09-19 18:49:12 +02:00
parent e11466d3db
commit e60c801f4e
7 changed files with 765 additions and 97 deletions

View File

@@ -9,19 +9,24 @@
"lint": "eslint"
},
"dependencies": {
"dotenv": "^17.2.2",
"jsonwebtoken": "^9.0.2",
"mysql2": "^3.15.0",
"next": "15.5.3",
"react": "19.1.0",
"react-dom": "19.1.0",
"next": "15.5.3"
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1"
},
"devDependencies": {
"typescript": "^5",
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@tailwindcss/postcss": "^4",
"tailwindcss": "^4",
"eslint": "^9",
"eslint-config-next": "15.5.3",
"@eslint/eslintrc": "^3"
"tailwindcss": "^4",
"typescript": "^5"
}
}