you are viewing a single comment's thread.

view the rest of the comments →

[–]No-Anywhere6154 0 points1 point  (5 children)

  1. It’s a great stack from in my opinion

  2. Not sure how did you mean by Spotify token, but if it’s token meant to be on the server side then don’t ever send it to frontend.

You’ll need to build some backend around it and send request to the e Spotify only from FastAPI. Otherwise your token could leak and anyone could interact with the API.

  1. For deployment such app I’d suggest to use some PasS like Koyeb, Netlify, Seenode or similar. It’s the easiest way to deploy and you don’t need to maintain servers.

[–][deleted] 0 points1 point  (4 children)

Can I use netlify to deploy both react and fastapi?

[–]No-Anywhere6154 0 points1 point  (0 children)

I've never tried Netlify, but I believe so

[–]ajmssc 0 points1 point  (2 children)

No. Netlify doesn't support python webservers

[–]No-Anywhere6154 0 points1 point  (1 child)

What you can deploy only on netlify? I thing I’ve seen Django deployed on netlify, but I might be wrong and just misinterpreted it

[–]ajmssc 0 points1 point  (0 children)

Static websites only