Musipp
A React app to play with Spotify's web api.
This is Node.js server for authenticating user's Spotify accounts.
Use this in conjunction with Musipp Frontend.
Instructions:
- Clone or Download this repo.
cd
into the downloaded directory.- Run
npm i
. Wait until it finishes. - Run
npm start
.
Create Environment Variable
$ cp .env.example .env
$ nano .env
CLIENT_ID= Your Spotify Client ID
CLIENT_SECRET= Your Spotify Secret ID
FRONTEND_URI= Your Frontend URI
REDIRECT_URI= 'Your Redirect URI
LOGIN_URI= Your Login URI
To ensure everything is running as it should, navigate to
http://localhost:3000/
in your web browser.
This is the URL for the client-side of the Musipp application. Next, navigate to http://localhost:8888/auth
.
This is the URL for the API server of the Musipp application. Navigating to this URL should show OAuth Login page for Spotify API
.
If both URL's look good, then you're all set!