I started this project as a way to dive into learning web development. I wanted to build something a little different from traditional race prediction calculators where you just enter a single time for a recent training run. Accessing all of a runner's GPS data from Strava allows me to put a rolling window on each run and find the fastest sub-segments and build predictions based on that.
This was built using Ruby on Rails and is running on Heroku. The biggest challenges for me were:
- Connecting to an API (Strava) and consuming the data
- Figuring out how to efficiently use Sidekiq (especially on a single Heroku dyno)
- Design (this is still a work-in-process)
If it's not clear, this is for Strava users only at the moment. I plan on adding additional API access when I can find them. There are also a few more prediction calculations that I would like to include as well.