Skip to content

ltetzlaff/spotify-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

spotify-lambda

Build Status

code style: prettier

Setup (in ./)

Install NodeJS

Download

Fetch dependencies

npm install

Dev (in ./)

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

Deploy

  • Put your stuff in .env and .serverless.env.yml file
npm run deploy

Use

  • 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 and SPOTIFY_REDIRECT_URI in your .env
  • Send users to /login to approve login
  • Send users to /api to retrieve stuff from API

Useful Ressources

guides

About

๐ŸŽถ๐Ÿ’š Serverless OAuth2ed Access to Custom Spotify Apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •