An interface to the spotify API, built on top of spotify-node-react-starter-kit. spotify-node-react-starter-kit sets you up with an authentication server that you hook up to spotify's API, and a simple react application that is hooked up to the authentication server.
https://github.com/jonnyk20/spotify-node-react-starter-kit
- Visit https://developer.spotify.com/
- Log in and create an app
- Enter http//localhost:8888/callback as the redirect uri
- Save your changes
- Copy down the following: Redirect uri, client id, client secret
- Navigate to the auth-server directory
cd auth-server
- Install the dependencies
npm install
- Paste in the redirect uri, client id, and client secret you copied in step 1
- Run the Server
node authorization_code/app.js
- Navigate to the auth-server directory
cd client
- Install the dependencies
npm install
- Run the Server
npm start
- Make sure you have a song playing (or paused) on a Spotify app
- Visit http://localhost:3000
- Click 'Log in with Spotify' and log in
- Click the 'Check Now Playing' Button
- Your currently playing song's name and album art should appear