This is a backend that powers the Apple Shortcut iMessage2Spotify.
- Add
.envfile with contents of.env.example - Configure a Postgres DB and add that
DATABASE_URLto.env - Configure a Spotify Developer account, create an app, and add its client ID, secret, etc. to
.env. - Run
npm i - Run
npx prisma db pushto migrate the DB - Run
npm run devto start the server - Open http://localhost:3000 with your browser.
It's straightforward with Vercel: link your Git repo, update your environment variables, and you're good to go