npm install
Typescript builds are automatic and watch for file changes:
npm run build
or run this to build only once:
npm run buildOnce
Building, Linting, Formatting, Testing:
npm test
- Put your stuff in
.env
and.serverless.env.yml
file
npm run deploy
- Go to spotify dev dashboard
- Set redirect uri to be this app's public url for the
/redirect
handler - Put
SPOTIFY_SECRET
,SPOTIFY_CLIENT_ID
andSPOTIFY_REDIRECT_URI
in your.env
- Set redirect uri to be this app's public url for the
- Send users to
/login
to approve login - Send users to
/api
to retrieve stuff from API