API to access your currently playing spotify song.
touch .env
at the project root and define the following values:
SPOTIFY_CLIENTID=
SPOTIFY_CLIENTSECRET=
SPOTIFY_REDIRECTURI=
EMAIL_EXPECTED=
SPOTIFY_CLIENTID
andSPOTIFY_CLIENTSECRET
are obtained from an app in the Spotify developer dashboard.SPOTIFY_REDIRECTURI
is the same value as set in the same app as above.EMAIL_EXPECTED
is a passive check to ensure that the intended user is authenticating.
- Run these:
$ yarn install
$ yarn build
$ yarn deploy