A Fantasy Premier League statistics dashboard built with Next.js. Track your FPL team performance, compare players, and make data-driven transfer decisions.
- Team Dashboard - View your current gameweek picks, points, and rankings
- Player Analysis - Compare multiple players side-by-side with detailed statistics
- Transfer Suggestions - Get AI-powered transfer recommendations based on player performance scores
- Probability Predictions - See the likelihood of players increasing their stats (goals, assists, clean sheets, etc.) using Poisson distribution analysis based on recent form
- Next.js 14
- React Query for data fetching
- Recoil for state management
- Tailwind CSS for styling
- Node.js 18+
- npm, yarn, or pnpm
npm installThe FPL API has CORS restrictions, so you need to run a local proxy alongside the dev server.
Terminal 1 - Start the CORS proxy:
npm run proxyThis starts a local proxy at http://localhost:8010 that forwards requests to the FPL API.
Terminal 2 - Start the Next.js dev server:
npm run devOpen http://localhost:3000 in your browser.
npm run build
npm startIn production, API requests are routed through Next.js API routes, so no proxy is needed.
- Enter your FPL Team ID on the home page
- Navigate to the dashboard to view your team stats
- Use the Analysis page to compare players and see probability predictions
- Check transfer suggestions for potential improvements to your squad
MIT