a multiplayer room based card game simulator
The project is organized into two main directories:
frontend/
: React-based web application deployed on Vercelbackend/
: FastAPI-based REST API server deployed on Render
- Framework: FastAPI (Python)
- Key Dependencies:
- FastAPI - High-performance web framework
- Uvicorn - ASGI server implementation
- Pydantic - Data validation
- WebSockets - Real-time communication
- APScheduler - Task scheduling
- Python-Jose - JWT token handling
- Rate limiting and caching utilities
- Framework: React
- Deployment: Vercel
- Build System: npm
-
Navigate to the backend directory:
cd backend
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Navigate to the frontend directory:
cd frontend
-
Install dependencies:
npm install
-
Start the development server:
npm start
- The backend server runs on FastAPI with automatic API documentation
- Environment variables should be configured in a
.env
file - API endpoints are RESTful with JWT authentication
- Built with modern React practices
- Configured for deployment on Vercel
- Static assets are cached and optimized for performance
- Configured for deployment with gunicorn
- Includes rate limiting and security features
- Sentry integration for error tracking
- Automated deployment through Vercel
- Optimized static asset serving
- Configured with proper caching headers
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.