Visit the live site at: http://en-rotation.herokuapp.com/
A nodejs web/client webapp to help you keep track of the changes you make to playlists. Never forget what songs you delete from the playlist because this keeps track of that too! This project started as a fork of this Spotify produced OAuth 2.0 demo.
Some super helful resources used to make this possible:
- Boostrap 3.1.1
- Spotify API / Developer Reference
- Firebase Firestore (Persistant user data)
- DataTables: Free Open-Source Javascript Library
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.
Once installed, clone the repository and install its dependencies running:
$ npm install
You will need to register your own 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. Make sure to register at these Redirect URIs:
- http://localhost:8888 (needed for the implicit grant flow)
- http://localhost:8888/callback
Once you have created your app, replace the client_id, redirect_uri and client_secret in the examples with the ones you get from My Applications.
You will need to register and create a database through Firebase's Developer Dashboard. You may also need to register with the Google Developer Console.
To get started, visit this get started with Firebase page. Also see the Google Developer Console.
In order to run, open the folder with the name of the flow you want to try out, and run its app.js file. For instance, to run the Authorization Code example do:
$ cd authorization_code
$ node app.js
Then, open http://localhost:8888 in a browser.
