While working on my other project volleystats I stumbeled upon some bugs that needed to be fixed regarding the json output, dates and times that where in the wrong place. These 40 mins also account for debugging that I did on volleystats.
While working on my other project volleystats I stumbeled upon some bugs that needed to be fixed regarding the json output, dates and times that where in the wrong place. These 40 mins also account for debugging that I did on volleystats.
What have I been doing the last 5 hours, well that’s actually a pretty good question. Let’s see how good my memory still works. (I recommend opening the video in a new tab)
First off I added some new models:
After that, I had to fix my pages because I now had to fetch data to build these models via my api (checkout volleyscoresapi). Then I noticed some bugs in my api so I also fixed those. Short after I battled with some edge cases where suffixes, that sabotage the lookup of the team. Eventually I lost my patience waiting for models to load so I added a caching system for teams and clubs. Lastly I had to fix some issues where the matchdata of a team wasn’t correctly rendered. Now everything related to search works, I also have models so I don’t have to rely on static data. Next up I’ll be completely revamping the home page so that that also works dynamically, with a cache/ storage system to store your favorite teams.
I made the search page now dynamically fetch club data. You can now easily look up a club and fetch it’s data. Next up is the team data. I’ll probably be creating a custom TeamModel for the ease of use.
Wel uhm maybe I should have devlogged more. I created an app to view all belgian volleybal matches clubs etc… Currently only the search function uses the api I created (volleyscoresapi) and is also available in stardance. I think that this video would suffice what I’ve been doing the past 4h and 24mins.
Fought with dokploy not wanting to start my container after I changed the swagger docs a little. Dokploy now does what it needs to do for deployment and my docs are up to date!
(Image of me fighting dokploy)
Added a get team route. MVP is now ready!
Just finished a get_club function! You can now parse a club with the api!
Found the secret already existing not documented and very not easily readable api! I inplemented better api endpoints and better responses that are better documented. Glad I found this, this will speed up development so much!
Yipiee I updated all models and the database connector, everything works now. Test runs where OK. So I can move on!
Omd just learned some SQLalchemy it’s amazing. Made my first ever database mapped class, other then django models. Hopefully this works when I finish all other classes.
(Gif of me looking at my sqlachemy class)
Finished a search query function. You can now search the volleyscores web page. Next i’m working on unittests.