Check it out at spotify.soneji.xyz
git clone https://github.com/Soneji/spotify-vibe-check.git
cd spotify-vibe check
npm install
-
Goto https://developer.spotify.com/dashboard/ and click
CREATE AN APP
-
Choose
NON COMMERCIAL
-
Accept Terms of Service
-
Under
Redirect URIs
addhttp://localhost:8888/callback
or replacelocalhost
with any server hostname you plan to host this app. -
Copy
Client ID
andClient Secret
totemplate.env
-
Add a
redirect_uri
if running on a server -
Rename
template.env
to.env
Run:
npm run test
to setup a local test server at http://localhost:8888/
This step is about running the software on a server with pm2 as a node process manager.
You will need to instlal pm2 to get this script to work. pm2 can be installed using:
sudo npm install pm2@latest -g
Run
npm run dist
which will set the app to run with pm2