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
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.
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
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.
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
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.
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
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.