Skip to main content

Posts

Showing posts from May, 2024

Project Debrief: The Gym Wall of Shame

A Little Background  It started as a quirky idea during one of my more reflective moments post-pizza (yes, not post-gym!). What if I had a fun way to keep track of my actual gym visits versus those I just claimed to have attended? Thus was born the "Gym Wall of Shame" — a project where I combine a bit of coding with some of my gym data. The whole idea is to have a public page where everyone(literally everyone) can keep track of how many gym sessions they actually had!  The whole idea: It's an attempt to make myself really go to the gym by publicly sharing all of the data! The Setup  The backbone of this project is FastAPI and Svelte — one handling my backend bravado and the other serving the frontend.  FastAPI - The Backend Buddy  In the land of the backend, I set up FastAPI to do the heavy lifting. It’s got two main parts:  app.py: This is where all the magic happens. It decides what data gets shown and keeps everything moving smoothly.  scraper.py: M...