How to Deploy MERN (MongoDB Express React Node) App on Railway

preview_player
Показать описание
In this Railway MERN App Deployment tutorial, I show step by step how to host a MERN app on Railway!

Chapters:
0:00 Intro
0:04 Deploy MERN App Demo
0:13 Deploy Backend of MERN App
2:35 Deploy Frontend of MERN App
3:45 Outro

#railway #mern #hosting #tuotrial

😄 Want to support and help grow my channel?

☕ Love my video and want to support me?
Рекомендации по теме
Комментарии
Автор

what if i have static file in the frontend i runed pnpm run build it genereted dist with index.html

maxamedadan
Автор

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?

jackhannon
Автор

hi how do you link your mongo database to your railway project? im trying to get my node app hosted on railway but am currently getting an error message in my railway logs because the there is no ip address from railway that i can whitelist on mongo atlas

AtomicTreBomb
Автор

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?

qazxsw
Автор

I was getting database connection failed error

Ali.HS
Автор

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

jannickpedersen