Skip to content

Daily fantasy football lineup builder and optimizer built with Node.js and React.js. Build lineups manually from queue or generate highest projected lineups under position and salary constraints through linear programming.

License

Notifications You must be signed in to change notification settings

ashhhlynn/optimize-daily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Optimize Daily

Daily fantasy football lineup builder and optimizer built with Node.js and React.js, featuring DraftKings contest data and Sleeper projections. Build DraftKings contest lineups manually from player queue or generate highest projected lineups under position and salary constraints through linear programming. Updated weekly during NFL season for the Sunday Classic and two Showdown contests.

🔗 Website

🔗 Video

Technologies

  • JavaScript
  • React.js
  • Node.js
  • Express.js
  • DraftKings API
  • Sleeper API
  • lp-solver.js
  • Semantic UI React
  • HTML & CSS
  • Netlify & Render

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 in PPR scoring
  • Sort player queue by position, name, FFPG, projection, and salary
  • Manually add (or remove) players to lineup from queue
  • Option to lock specific players from queue as required in optimization
  • Optimize with lp-solver.js for highest projected lineup under salary and position constraints
  • Display lineup projection and remaining salary totals

Media

Setup

$ git clone https://github.com/ashhhlynn/optimize-daily.git
$ cd optimize-daily
$ cd client
$ npm install
$ npm start

License

This project is MIT licensed.

About

Daily fantasy football lineup builder and optimizer built with Node.js and React.js. Build lineups manually from queue or generate highest projected lineups under position and salary constraints through linear programming.

Topics

Resources

License

Stars

Watchers

Forks