mwin1201 / fpl-draft-2022

FPL Draft website to track league team performance stats
2 stars 1 forks source link

High Level Design #141

Open mwin1201 opened 9 months ago

mwin1201 commented 9 months ago
  1. When building out the Championship Playoffs page I realized that I need this data stored in the DB so that I can have reliable data to reference between Homepage and the separate Playoffs page

  2. This led me to look at the League Data branch I started building. This model included total points and some other stats that made me think about an actual gameweek stats model.

  3. In order to create a game week stats model I need to use cron jobs to periodically push data into the database without user interaction. This has now got me thinking about other DB data and how to structure my local storage

  4. Once the gamweek data goes into the database i will be pulling all data from the DB except for the current gameweek that will be periodically updating in the local storage. Only once the game week is finished will the data be pushed into the DB by the cron job.

mwin1201 commented 9 months ago

branch ship_playoffs_homepage:

mwin1201 commented 9 months ago

Things Done:

TODO: