Daily Fantasy Football lineup builder and optimizer application created with Node.js and React.js, featuring live DraftKings contest data and projections from Sleeper. Build DraftKings contest lineups manually from player queue or optimize with linear programming for the highest projected lineup given salary and position constraints. Updated weekly during the NFL season for the Sunday Classic and two Showdown contests. |
🔗 Website
🔗 Video
- JavaScript
- React.js
- Node.js
- Express.js
- DraftKings API
- Sleeper API
- lp-solver.js
- Semantic UI React
- HTML & CSS
- Netlify & Render
- 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 manually selected players in optimization calculation
- View lineup total projection and remaining salary data
$ git clone https://github.com/ashhhlynn/optimize-fantasy-football.git
$ cd optimize-fantasy-football
$ cd client
$ npm install
$ npm start
This project is MIT licensed.