A web app that generates the most optimized lineups for DraftKings.
- Supports most sports on DraftKings
- (does not support: LOL)
- Requests directly from DraftKings' API
- Import/export .csv
- Search by player, team, position
- Generate multiple lineups
- Basic rules:
- Lock players
- Number of players from same team
- Number of specific positions
- Minimum salary cap
- Maximum repeating players
- Projected Ownership
- Stacking (team, player, custom)
- Add other dfs providers (Yahoo, Fanduel, etc)
- More pydfs rules
- Implement login service and SQL database
- View players stats/analytics page
This project uses pydfs to optimize the lineups and a Python + Flask backend to serve endpoints.
- Ensure backend is running
- Update, fill out, and rename
.env.example
to.env
- Run
npm i
to install NextJS and other dependencies - Run
npm run develop
to run NextJS in dev mode
This project uses Jest for front-end testing.
- Run
npm run test
to run all tests - Alternatively, run
npm run test:watch
to start NextJS in dev mode and watch all tests
NOTE: All tests are run during a pull request/push via Github Actions.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.