News for hackers. Stuff that matters.
Re:The Tech Stack of a One-Man SaaS by xu3u32 on Monday November 23, 2020 @03:43PM (#25191574)
How hard is CORS set up with dedicated frontend/backend? I'm running into this with Django REST and VueJS. Or do you just host both using Heroku?
Re:The Tech Stack of a One-Man SaaS by cbdumas on Monday November 23, 2020 @06:53PM (#25193426)
I'm not the person you asked but I have my frontend hosted separately from the Heroku backend. CORS was a bit of a pain at first, mostly because I had never had to deal with it before, but after initial setup I never think about it.
Re:The Tech Stack of a One-Man SaaS by justingreet on Monday November 23, 2020 @10:55PM (#25195125)
We use Django REST and an angular frontend. Django is hosted on heroku, and angular is hosted on netlify. Netlify makes it super easy to proxy API requests from the front-end to our API backend.