Spotify Plus is a web app clone of your spotify profile that adds additional features to help visualize personalized Spotify Data. Login with your spotify account and get extra stats like:
- Sorting your favorite tracks by Special Audio Features like Loudness, Dancebility, Tempo, Energy & more.
- Filtering your top artists or top tracks by time.
- Spotify Account
- Node, Express, Heroku
- React, React Router, React Hooks, Styled Components
-
Got to Spotify Developer Dashboard and "Create a new App". Then add
http://localhost:8080/redirect_callbackas a Redirect URI in the app settings -
Clone the app (or download a zip whichever you prefer)
git clone git@github.com:M0unir/spotify-plus.git
-
Install the node version specified in the provided
.nvrmcfilenvm install
-
Install project dependencies
yarn install
-
Rename
.env.exampleto.env, then replaceCLIENT_ID&CLIENT_SECRETwith your own credentials from your Spotify Dashboard. -
Rename
client/.env.development.exampletoclient/.env.development -
Run the project (This will run both the server & the client)
yarn start
If you have Circular Fonts (used by Spotify) you could add them to public/fonts/Circular/.
Then change this in client/.env.development or client/.env.production:
REACT_APP_USE_CIRCULAR_FONTS=trueYou could either set your %PUBLIC_URL% in client/public/index.html manually or for a more dynamic approach, from the docs, set the homepage key to your published app url
{
"homepage": "https://example.com",
}It is also possible to set PUBLIC_URL in your production environment or prepend it to your build command:
PUBLIC_URL="https://example.com" yarn buildYou can use sentry.io to capture errors in production
REACT_APP_SENTRY_API_KEY="ADD_YOUR_SENTRY_API_KEY"