How to Deploy MERN (Mongo Express React Node) App to Vercel | For Beginners

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

Chapters:
0:00 Intro
0:05 Deploy MERN App Demo
0:30 Deploy Backend of MERN App
3:36 Deploy Frontend of MERN App
5:13 Outro

#vercel #mern #hosting #tutorial

😄 Want to support and help grow my channel?

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

Here's some code from the tutorial!

Environment variable for the frontend:

Code for the vercel.json file:

{
"rewrites": [{ "source": "/(.*)", "destination": "/api" }]
}

AndysTechTutorials
Автор

Thank you ! Thank you ! I've been trying to deploy my full-stack app for 3 days now !

IohHan
Автор

when deploying to vercel this way where you now have separate url for backend and separate for front end, chrome will give following message : "Third-party cookie will be blocked. Learn more in the Issues tab.", and if you have cookies set, when changing to different pages in your app, cookies will disappear unless you go back to that specific page where it is working... how to make it work ?

waleedsharif
Автор

how to deploy mern app to vercel using one url ? now you have two different url for back end and client...

waleedsharif
Автор

I've tried everything and I still can't get my backend deployed. Everything is working locally but I keep getting an error page after I deploy. Could you please help ?

tck_crim