Simple react js web that consume data from Spotify WEB API and use Spotify Playback SDK for playing a tracks
-
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
-
Then open user and settings and add your spotify account, like this
-
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
Currently, you need Premium Spotify Account to be able using Spotify Playback SDK Feature for playing a song or albums.