Show trends about your music listening habits over time using different audio features like acousticness, danceability, and energy, based on the tracks you save to your Spotify library. Also generate playlists like a given song or artist, but with the specified audio features.
How to Develop
You will need Homebrew installed in macOS.
a Spotify application and copy
your app's client ID to src/public/config.json. Add
as a redirect URI in your Spotify app.
brew update brew install yarn yarn install gulp open http://localhost:3000
How to Test
yarn install yarn test
This will run the style checker and the Jest tests. You can run just the
style checker via
yarn run style. You can run just the Jest tests
yarn run unit-test.
Snapshots are used --
to test that a React component is rendered the same way consistently based
on the props it's given. If you update a component, a test may fail
because the snapshot is now different from what is rendered. Manually
compare the two and if the change is expected, update the now out-of-date
yarn run unit-test -- -u.
How to Deploy to Heroku
In your Spotify application, you'll need to add your Heroku app's URL, with
as a valid redirect URI. You probably want to add two redirect URIs: one with
https and the other with http.
git push heroku master