Spotify Website Rework (Semester 5 - CS344 Web Engineering)
Webstite: https://samialavi.github.io/Spotify-Website-Rework
Contributors:
https://developer.spotify.com/web-api/authorization-guide/
The authorization_code 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, change directory to /web-api
and install its dependencies running:
$ npm install
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. Change Redirect URIs
to:
Once you have created your app, replace the client_id
, redirect_uri
and client_secret
in the /web-api/authorization_code/app.js
with the ones you get from My Applications.
In order to run, open the folder /web-api/authorization_code
and run its app.js
file:
$ cd web-api/authorization_code
$ node app.js
Then, open http://localhost:8888
in a browser, log in with your spotify account, copy everything after http://localhost:8888/#access_token=
and paste in js/dashboard.js
at Line 4.
Run dashboard.html
.