Welcome to FastTracks! This is a Turing School of Software & Design project completed by Brennan Ayers, Rob Stringer, William Homer and Alexander Mathieu.
FastTracks combines data from Strava and Spotify to deliver insights and music recommendations based on performance. Once users sync both their Strava and Spotify accounts, new activities are posted to FastTracks via a Strava webhook. The Spotify API is then queried to determined which songs where played during that activity, and matched to data from Strava to figure out the user's level of exertion during that song. All information is then averaged into a final 'power ranking' for each song, displayed to the user on the dashboard.
FastTracks also provides musical recommendations based on the user's songs with the highest power rankings, and allows the user to create a new Spotify playlist or add to an existing one.
The deployed site can be viewed here.
- Redis
- Rails 5.2.3 - Rails Version
- Ruby 2.4.1 - Ruby Version
$ git clone https://github.com/alexander-mathieu/fast_tracks.git
$ cd fast_tracks
$ bundle install
$ rake db:{drop,create,migrate,seed}
Local setup requires the installation of the FastTracks Flask micro-service. Setup instructions can be found here.
The model and feature tests can be run using rspec
.
Example of expected output:
....................................
Finished in 2.08 seconds (files took 4.37 seconds to load)
36 examples, 0 failures
Coverage report generated for RSpec to /Users/alexandermathieu/turing/mod_3/projects/fast_tracks/coverage. 648 / 655 LOC (98.93%) covered.
Information about initial project requirements can be found here.