R
Railway17mo ago
Tonquin

Any suggestions for hosting a single repo with separate backend/frontend folders?

I have previously created a small personal project where I had the frontend (react) and backend (django) in two separate repo's. This made it easier to push to Railway in the past. However, for a new project I am about to start I would like to have both frontend/backend in the same repo so I don't have to worry about one of the repo's failing to push while the other succeeds. Does anyone have any suggestions for this?
Solution:
you would still need two railway services for frontend and backend, but you would just set the root directory accordingly in each service, then when something in that directory changes a rebuild is triggered for that specific service, this is called a mono repo
Jump to solution
1 Reply
Solution
Brody
Brody17mo ago
you would still need two railway services for frontend and backend, but you would just set the root directory accordingly in each service, then when something in that directory changes a rebuild is triggered for that specific service, this is called a mono repo
Want results from more Discord servers?
Add your server