Skip to content

dansoppelsa/basic-spotify-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic spotify player

In order to run this application, first:

  1. Create a Spotify Developer account at: https://developer.spotify.com/dashboard/
  2. Register an application in the Spotify Developer Dashboard
  3. 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)
  4. Record the Client ID generated by Spotify for your registered application
  5. Create a .env or .env.local file in the same folder as the application
  6. Add the variables VUE_APP_SPOTIFY_CLIENT_ID and VUE_APP_PLAYER_URL
  7. Run the steps below

PLEASE NOTE: You must have a paid (premium) Spotify account in order to use the Web Player

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Example .env:

VUE_APP_SPOTIFY_CLIENT_ID=[CLIENT ID GENERATED IN DASHBOARD]
VUE_APP_PLAYER_URL=http://localhost:8081

Basic Spotify Player

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published