xgloser
Issue with connecting to Spotify API (not happening locally)
oh some hunting through docs - I was struggling with that too - its mostly about CRA but theres line for using Vite under "The solution"
https://help.railway.app/project-help/f9v3gkPQRy4UShk5SnoPDH/getting-your-create-react-app-running-on-railway/qHRsgxa5n57xLp1yVgk9fP
32 replies
Issue with connecting to Spotify API (not happening locally)
https://github.com/casey-turner/jams-playlist-generator/blob/deploy/packages/server/src/controllers/spotifyAuthController.ts
this is where I'm doing the Spotify Auth
https://github.com/casey-turner/jams-playlist-generator/blob/deploy/packages/server/src/apis/spotifyApi.ts
and this is where I've created the axios instance
32 replies
Issue with connecting to Spotify API (not happening locally)
I know with the Spotify API you need to register your redirect URI, which I've done
http://localhost:3000/callback
https://jams-playlist-generator-production.up.railway.app/callback <= this is my backend url
32 replies
Issue with connecting to Spotify API (not happening locally)
https://github.com/casey-turner/jams-playlist-generator/tree/deploy
sure - it's here ^^^ I'm working on this deploy branch as I have been trying to debug and don't want to mess with things too much when I know it's been working locally
32 replies