Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.83 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.83 KB

History Sync for Spotify

Fail Fail Fail

Sync your Spotify's playback history every hour

Installation

These examples run on Node.js. On this website you can find instructions on how to install it

Just clone this repo and install it's dependencies

npm install

Use your credentials

You will need to register your app and get your own credentials from the Spotify for Developers Dashboard

To do so, go to your Spotify for Developers Dashboard and create your application

For the examples, we registered these Redirect URIs:

Once you have created your app, create an .env file and add the CLIENT_ID and CLIENT_SECRET that you got from your Spotify Dashboard

CLIENT_ID=12345678
CLIENT_SECRET=12345678

Database (important)

MongoDB 4.2 is required to run this project

If you have Docker you can run

docker volume create mongo
docker volume create mongoc
docker run -d --name mongo -p 27017:27017 -v mongo:/data/db -v mongoc:/data/configdb mongo:4.2