Implement backend for blackjack game with Discord authentication, database integration, and WebSocket support

This commit is contained in:
2025-12-20 23:02:19 +01:00
commit b673f6fcb3
14 changed files with 1016 additions and 0 deletions

25
package.json Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "blackjack-backend",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "src/index.js",
"scripts": {
"dev": "nodemon src/index.js",
"start": "node src/index.js"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"mysql2": "^3.10.0",
"stripe": "^16.2.0",
"ws": "^8.17.0"
},
"devDependencies": {
"nodemon": "^3.1.0"
}
}