if i have both front and back in the same repo, should i do two different project and select the same repo? meaning, in the end i should have one service or two?
my backend comes up fine, but my frontend doesnt, the build is is running and the project gets deployed, but I get a 503 error. Should the backend host variable be the deployed backend domain?
Hey @jackhannon4322, yes, your backend host variable should be the url of your backend app. In my tutorial, my backend host variable was mernstackapp--production-ab1e.up.railway.app since that was the domain that railway generated for me at 2:25 for my backend app.
Man 1 month ago my Railway deploy worked fine. Yesterday i updated something in the code, pushed to my GitHub and railway will auto fetch that new push. But now my start command with npm run setup production fails, just suddenly it fails after like months where it worked xD
Great video!
if i have both front and back in the same repo, should i do two different project and select the same repo? meaning, in the end i should have one service or two?
Yes, you should select the same repo both times and in the end, you will have two different services!
my backend comes up fine, but my frontend doesnt, the build is is running and the project gets deployed, but I get a 503 error. Should the backend host variable be the deployed backend domain?
Hey @jackhannon4322, yes, your backend host variable should be the url of your backend app.
In my tutorial, my backend host variable was mernstackapp--production-ab1e.up.railway.app since that was the domain that railway generated for me at 2:25 for my backend app.
@@AndysTechTutorials Fixed, my start script was serving the dev build.
@jackhannon4322 Im glad you figured it out!
Man 1 month ago my Railway deploy worked fine. Yesterday i updated something in the code, pushed to my GitHub and railway will auto fetch that new push. But now my start command with npm run setup production fails, just suddenly it fails after like months where it worked xD
Hey @jannickpedersen4620, is there a specific error message you're seeing?
Where is MongoDB?
Hey Olivier, can you clarify what you mean?