Server for mytopspotify.io. Based on Spotify's 'authorization_code' Developer Authentication Example. Built by Alistair Shepherd from Accudio.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
app.js
package-lock.json
package.json
serverless.yml

README.md

My Top Spotify Node.js Server

GitHub Twitter Website Donate

Server for mytopspotify.io. Based on Spotify's 'authorization_code' Developer Authentication Example. Built by Alistair Shepherd from Accudio.

Installation

This server runs on Node.js. On its website you can find instructions on how to install it. You can also follow this gist for a quick and easy way to install Node.js and npm. You will also need serverless installed globally. You can do this by running:

$ npm install serverless -g

Once installed, clone the repository and install its dependencies running:

$ npm install

Using your own credentials

You will need to register your app and get your own credentials from the Spotify for Developers Dashboard.

To do so, go to your Spotify for Developers Dashboard and create your application.

Once you have created your app, replace the client_id, redirect_uri, client_secret and app_uri in config.js with those obtained from My Applications.

Running the examples

To start the server offline, start serverless:

$ sls offline start

Then open http://localhost:8888 in a browser.

Version History

  • v1.0.0 - Finished release coinciding with mytopspotify.io release
  • v0.3.0 - AWS-Lambda compatible beta release
  • v0.2.0 - Local-compatible beta release
  • v0.1.0 - Initial Release