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