Ian
How to handle both frontend and backend hosting on Railway?
I currently have my backend deployed on Railway and my frontend deployed on Firebase. I'd like my URL structure to be as follows:
mywebsite.com -> user facing website
mywesbtei.com/api/* -> all the API endpoints my website will need
These are two different services(React, and Python). Given that they're using URL parameters they will both need to be running inside Railway I assume? I can't have them split across service providers(Google and Railway)
Is there any option besides setting up nginx(or similar) to act as a reverse proxy? Clearly, I could serve my static site at the root route of my API server but I'd prefer to not do that.
14 replies