/react-js-spotify-clone

Simple React JS Spotify Clone

Primary LanguageJavaScript

React JS Spotify Clone

Simple react js web that consume data from Spotify WEB API and use Spotify Playback SDK for playing a tracks

screenshot-desktop

How to run

  • First you need Client ID and Client Secret from your Spotify Account. You can get it from here:
    Spotify Developers Dashboard

  • And then, at the dashboard page, please click edit settings and put callback url like this
    screenshot-callback

  • Then open user and settings and add your spotify account, like this
    screenshot-user

  • Copy env.example to .env and fill the client id and secret.

cp .env.example .env
  • Install dependencies
yarn install

#or

npm install
  • Run the app
yarn start

#or

npm start

NOTES

Currently, you need Premium Spotify Account to be able using Spotify Playback SDK Feature for playing a song or albums.