Save for Later
This guide was created with Scribe in
3 minutes.
Sign in and create your own!
Deploying MERN app on Vercel
Naveen Bantu
|
0 step
|
3 minutes
Vercel
1
Login/Sign-up and go to your Vercel Dashboard
2
Click on "Add New..." and select "Project" category
Zoom Saved
3
Select your MERN application Git repository and Click "Import"
Zoom Saved
4
Click "Build and Output Settings" and check the build configuration
Zoom Saved
5
Click "Environment Variables"
Zoom Saved
6
Add all the environment variables, both "client" and "api" related.
Zoom Saved
7
Click on "Deploy"
8
Once deployed, continue to Project Dashboard
Zoom Saved
9
Copy the deployed URL"mockmeet-vercel-demo.vercel.app"
Zoom Saved
10
Click "Settings"
Zoom Saved
11
Select "Environment Variables"
Zoom Saved
12
Add the deployed URL along with "/api" ("mockmeet-vercel-demo.vercel.app/api") as an Environment Variable.
Zoom Saved
13
Click "Deployments"
Zoom Saved
14
Finally re-deploy by clicking "Redeploy" on the last Deployment.
Zoom Saved
Want to make guides like this in seconds? Yes, it's really that fast.
Show Me How
Have something to say?
Create an account to leave messages for the author to see!
Create an account
Feedback
This Scribe is in tip-top shape!
Leave feedback if there are any issues with this Scribe