Install node modules
npm install
Prepare the configuration file
cp .env.example .env
Edit the following
HOST=http://www.example.com
PORT=3000
CLIENT_ID=<your spotify client ID>
CLIENT_SECRET=<your spotify client secret>
Get your Spotify's CLIENT_ID and CLIENT SECRET by registering this app on https://developer.spotify.com/dashboard/
Don't forget to set the Redirect URL to HOST:PORT/auth/callback
now, spin up the server.
npm run dev