Optimize Daily
Fantasy Football lineup builder application created with Node.js and React.js, featuring live DraftKings contest data and projections from Sleeper. Manually build lineup from player queue or use linear programming optimizer to generate highest projected lineup given salary and position constraints. Front end deployed to Netlify and back end deployed to Render. |
Check out the live and video demos.
Technologies Used
- JavaScript
- React.js
- Node.js
- Express.js
- DraftKings API
- Sleeper API
- lp-solver.js
- Semantic UI React
- HTML & CSS
Features
- Fetch from DraftKings API to access live TNF/MNF Showdown and Sunday Classic contest data
- Fetch from Sleeper API to access player projections for week (PPR scoring)
- Sort player queue by position, name, projection, FPPG, and salary
- Calculate optimal lineup (highest proj. value) given salary and position constraints with lp-solver.js
- Manually add (or remove) players to lineup from player queue
- Option to include selected players in optimization calculation
- View lineup total projection and remaining salary data
To Implement
- Queue opponent rank (and sorting)
Media
Setup
git clone < this repository >
cd client
npm install
npm start
License
This project is MIT licensed.