Skip to content

mrpbennett/pulsepoint_fitness_club

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulsepoint Fitness Club

site

This simple web ui displays data taken from the PulsePoint's Strava club page via the Strava API. So it can be displayed in a leader board type fashion.

We total up the number of activities and track the total kilometres and hrs of the athletes to help spur people on. There is also a hidden form that allows users to input their activities if they're not on Strava.

All this goes into a Supabase powered back end. Allowing myself and others to query the tables to generate data around the activities incase we're running any company wide competitions.

The script that pulls the data from the Strava API is a python script that pushes the data into the supabase table and compares it on the following request not to duplicate data. This runs daily via Kubernetes and Cron at midnight EST, allowing us to get the latest Strava data.