Skip to content

Demo of the presentation "Introduction to Vue.js" to understand and reveal the power of Vue.js

Notifications You must be signed in to change notification settings

NeoCoast/vue-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue demo: spotify clone

Project setup

yarn install

In order to correclty fetch data from Spotify's API, you need to get an access-token. To get this token, you'll need to do the following:

  1. Install Postman

  2. In Postman go to the Authorizaton tab

  3. Set Type to OAuth 2.0

  4. Press the Get New Access Token button, this will open a popup

  5. In this popup set the following:

    Field Value
    Token name postman-spotify
    Callback URL https://www.getpostman.com/oauth2/callback
    Auth URL https://accounts.spotify.com/authorize
    Access Token URL https://accounts.spotify.com/api/token
    Client ID ********
    Client Secret ********
    Scope playlist-read-private playlist-modify-private

    To get the Client ID and Client Secret follow this Spotify Developers guide

  6. Press the Request Token button

  7. Log in with your spotify account

  8. Copy the access-token on the response popup.

  9. Paste this token in: /src/services/SpotifyServices.js on the authToken variable

(You will need to follow this each time the access-token expires)

Compiles and hot-reloads for development

yarn run serve

Presentation slides at https://slides.com/tinteff/vue-101

About

Demo of the presentation "Introduction to Vue.js" to understand and reveal the power of Vue.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published