Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Deploy a Full Stack App - React, Node.js, Express, Mongo - MERN Tutorial

Dave Gray via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial demonstrates deploying a completed MERN application by preparing its React frontend and Node.js REST API, pushing both repositories to GitHub, configuring production settings, and hosting them on Render. It also covers CORS, environment-variable protection, routing for page refreshes, and mobile verification.

Syllabus

Intro
Welcome
Starter Code - Frontend
Disable React Devtools
Disable Redux Devtools
Update baseUrl in apiSlice
Create git repository & push to Github
Deploy React app to Render.com
Starter Code - Backend
Update allowedOrigins
corsOptions decision to make
Confirm .env is listed in .gitignore
Create repository & push backend to Github
Deploy the backend to Render.com
Check out the live application
User Stories Review
Check mobile view
Extra clean-up
Additional features & scope creep
Missing step for page reloads & refreshes to work: Go to Redirects/Rewrites and add a rule with Source set to /* and Destination set to /index.html and Action set to Rewrite. Save the rule.

Taught by

Dave Gray

Reviews

Start your review of Deploy a Full Stack App - React, Node.js, Express, Mongo - MERN Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.