In order to run this application, first:
- Create a Spotify Developer account at: https://developer.spotify.com/dashboard/
- Register an application in the Spotify Developer Dashboard
- Add the "Redirect URI" of your application under "Edit Settings" on dashboard.
(This will be the URL you will be running this application at, post-fixed with
/spotify-auth
. e.g.http://localhost:8081/spotify-auth
) - Record the
Client ID
generated by Spotify for your registered application - Create a
.env
or.env.local
file in the same folder as the application - Add the variables
VUE_APP_SPOTIFY_CLIENT_ID
andVUE_APP_PLAYER_URL
- Run the steps below
PLEASE NOTE: You must have a paid (premium) Spotify account in order to use the Web Player
npm install
npm run serve
npm run build
npm run test
npm run lint
Example .env:
VUE_APP_SPOTIFY_CLIENT_ID=[CLIENT ID GENERATED IN DASHBOARD]
VUE_APP_PLAYER_URL=http://localhost:8081