Frontend for the Available Players Tracker for Sleeper fantasy football leagues. Dashboard, settings, and filters; consumes a separate backend for NFL data, injury reports, and recommendations.
- Vite, TypeScript, React, shadcn-ui, Tailwind CSS
- TanStack Query, react-hook-form, zod, recharts
Requirements: Node.js and npm (nvm recommended).
git clone <YOUR_GIT_URL>
cd sleeper-stream-scribe
nvm install
nvm use
npm run setup:dev
npm run devnpm run setup:dev installs dependencies, creates .env.local from .env.example when missing, and runs tests.
To connect the backend API, set VITE_API_BASE_URL in .env.local.
npm run dev— Start dev servernpm run setup:dev— Bootstrap local environment (install + env template + test run)npm run build— Production buildnpm run preview— Preview production buildnpm run lint— Run ESLintnpm run test— Run tests (Vitest)
Deploy this repo via Vercel: connect the GitHub repo and use the default Vite build settings (build command: npm run build, output directory: dist). Custom domain can be configured in the Vercel project settings.
- TECH_SPEC.md — Intent, requirements, testing standards
- PLAN.md — Roadmap and Backend Repo Spec