- Run
npm install
- Take all the info in the
conf.txt
I sent you and put that into a file in the root of the directory called.env
- Run
npm start
- Go to your browser and hit http://localhost:3000/spotify/register
- At this point this will call all the relevant endpoints in
spotify.js
- In Atom install the packages
js-hyperclick
andlinter-eslint
and depedencies. - Run
npm install knex -g
if you don't have knex - Run
knex migrate:latest
to run all db migrations
So first you'll give access to the spotify app. Once the access is given you'll see a lot of stuff show up in the terminal. It should have the access_token
, which you can use for any of your requests to Spotify's API.
To understand how to use the Web API check searchArtist or checkProfile.