A random album/playlist selector for Spotify. View the deployed version.
jamerator is a testing ground to use React and related technologies in a fun side project. It was bootstrapped with Create React App.
-
Create a Spotify app and obtain a Spotify Client ID.
-
Add the following redirect URLs. If you're going to deploy the app, do add URIs for your app’s domain as well.
http://localhost:3000/callback http://localhost:3000/callback?redirect=album http://localhost:3000/callback?redirect=playlist http://localhost:3000/callback?redirect=recent
-
Install dependencies:
npm i
-
Start up a dev server using:
REACT_APP_SPOTIFY_CLIENT="CLIENT_ID" npm start
-
For deployments, build a static version using:
REACT_APP_SPOTIFY_CLIENT="CLIENT_ID" npm build