NikifFleser / FlaskWebTest

A Flask Test
MIT License
0 stars 0 forks source link

Auto Update Of Database #14

Closed pengilton closed 5 months ago

pengilton commented 5 months ago

Find a way to update the database after each match. In detail:

I already implemented a function to update the leaderboard. It gets called whenever a user clicks on the leaderboard. Technically, we only need to update the leaderboard after each match not whenever a user checks the leaderboard. I will create a separate issue for this.

Note that the tasks above are kinda tied together: match finishes -> insert result into db -> evaluate bets -> update leaderboard

NikifFleser commented 5 months ago

We downgraded our expectations on this task. We do exactly what we didn't want - we should update the results in the database whenever the route gets called.