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

2 messages · Page 1 of 1 (latest)

silent gorge
#

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?

midnight arch
#

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