- 🔐 Wallet Authentication: Automatic sign up/sign in with Solana wallet connection
- 🏷️ Unique Username Generation: Auto-generated unique usernames for new users
- 💬 Real-time Chat: WebSocket-powered chat with game-specific rooms
- 🎲 Betting System: Complete betting management with statistics
- 👤 User Profiles: Avatar upload, profile management, and statistics
- 📊 Analytics: Comprehensive betting statistics and user analytics
- 🔒 Security: JWT tokens, rate limiting, and input validation
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB with Mongoose
- Real-time: Socket.IO
- Authentication: JWT + Wallet signatures
- File Upload: Multer + Cloudinary
- Validation: Express-validator
- Security: Helmet, CORS, Rate limiting
-
Node.js (v16 or higher)
-
MongoDB (local or cloud)
RATE_LIMIT_WINDOW_MS=900000 RATE_LIMIT_MAX_REQUESTS=100
WS_HEARTBEAT_INTERVAL=25000 WS_HEARTBEAT_TIMEOUT=60000
Start the server
# Development
npm run dev
# Production
npm startMIT License - see LICENSE file for details.
For support and questions, please open an issue on GitHub.