Fantasy football draft management frontend built with React + TypeScript + Vite. Connects to a Django backend (djleague) via REST APIs at /api2/* with real-time draft updates via Pusher.js WebSockets.
- Node.js
- A running
djleagueDjango backend (for API calls and authentication)
Install dependencies:
npm installStart the dev server (port 5173, proxies /api2 to http://127.0.0.1:8000):
npm start| Command | Description |
|---|---|
npm start |
Start Vite dev server on port 5173 |
npm test |
Run Vitest in watch mode |
npm run ci-test |
Run tests once (CI mode) |
npm run ci-build |
Type-check and build for production |
npm run build |
Build and copy output to the Django project |
npm run lint |
Lint with ESLint (auto-fix) |
npm run format |
Format with Prettier |