Saptashwa
Social fitness product with a ranking backendAug 2023 – Oct 2024

Trip Tracker

A small social fitness product: road-true GPS trips, a feed, and leaderboards reset by scheduled jobs.

My partWrote all of it by hand: the app, the Firestore model and the Node ranking jobs. Used by family and a few friends.
Hand-built
The weekly leaderboard with five users and their walking, running and hiking distances, all zero just after the weekly reset
The weekly leaderboard, just after a reset. Names and photos are replaced.
A user profile with weekly stats for walks, runs, hikes, car rides and bike rides
A profile with weekly stats, recalculated every 30 minutes.
The sign-in screen with an illustrated trail and a Track button
Sign-in, from the January 2024 build.
4 scheduled jobson a Raspberry Pi: trips every 5 minutes, ranks every 30, daily and weekly resets

What it does

  • Records walks, runs, hikes and drives along real road geometry, with speed and distance.
  • A social feed, likes, profiles and weekly stats for each kind of activity.
  • Daily and weekly leaderboards with awards: Node jobs run by cron on a Raspberry Pi rank users every 30 minutes, hand out "Daily Winner" and podium awards, and reset the scores.
  • A Firestore data model across users, trips, locations, the feed and admin config, with a version check that can force an update.
  • It grew out of a work task: simulating a vehicle moving through a city for a client demo.

Shares a stack with