BrennanAyers / fast_tracks

FastTracks combines data from Strava and Spotify to deliver insights and music recommendations based on performance.

Home Page:https://rocky-springs-29283.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastTracks Screenshot

FastTracks

About

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.

Local Installation

Requirements

Repository Setup

$ git clone https://github.com/alexander-mathieu/fast_tracks.git
$ cd fast_tracks
$ bundle install

Database Setup

$ rake db:{drop,create,migrate,seed}

Micro-service Setup

Local setup requires the installation of the FastTracks Flask micro-service. Setup instructions can be found here.

Schema

Rales Engine Schema

Running Tests

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.

Initial Project Requirements

Information about initial project requirements can be found here.

About

FastTracks combines data from Strava and Spotify to deliver insights and music recommendations based on performance.

https://rocky-springs-29283.herokuapp.com/


Languages

Language:Ruby 86.1%Language:HTML 11.8%Language:JavaScript 1.1%Language:CSS 1.0%