A full-stack web application for managing athletes, tracking injuries, health data, and training schedules.
- FastAPI (Python)
- SQLAlchemy ORM
- SQLite Database
- React.js
- Tailwind CSS
- Axios for API calls
- React Router for navigation
cd backend
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reloadBackend will run on http://localhost:8000
cd cms
npm install
npm startFrontend will run on http://localhost:3000
- Push code to GitHub
- Sign up at render.com
- Create Web Service for backend (Python)
- Create Static Site for frontend
- Set environment variables
- Push code to GitHub
- Sign up at railway.app
- Deploy both services
- Configure environment variables
- Deploy frontend to Vercel
- Deploy backend to Render
- Free tiers available for both
CORS_ORIGINS=https://your-frontend-url.com
REACT_APP_API_URL=https://your-backend-url.com
- Player management (CRUD operations)
- Injury tracking and history
- Health monitoring
- Training calendar
- Role-based dashboards (Admin/Coach)
- Medical reports and screening
- Username: Any username in database
- Password: (configured in seed_users.py)
MIT