Go to spotify.danieldiekmeier.de to try it yourself!
List the latest albums of your followed artists in chronological order.
You can install this on your own server, if you want.
Before you start, you should register an application with Spotify, by going here: https://developer.spotify.com/my-applications/#!/applications. This is where you get your clientId
and clientSecret
, and where you have to enter your redirectUri
.
- Clone
- Run
yarn
to install the dependencies - Create
config/index.js
andconfig/client.js
, with following contents:
// index.js
const clientConfig = require('./client')
module.exports = Object.assign({
port: 5000,
clientSecret: <client_secret>
}, clientConfig)
// client.js
module.exports = {
clientId: <client_id>,
redirectUri: <your_redirect_url>
}
- Run
yarn build
- Run
node src/app.js
- Go to
localhost:5000
to see the app.
Make sure you have Node >= 7.6 installed.