This tutorial will guide you on how to create a MEVN app from scratch to production. The app is deployed on Render. Visit this link to see the demo of the app
Clone Repo:
git clone https://github.com/isonguyom/mevn-crud.git
Enter the root directory:
cd mevn-crud
Install client dependencies:
cd client
npm install
Install server dependencies
cd ../server
npm install
Open in VScode:
code .
Create a .env
file in the server
folder and the following:
MONGO_URI='<mongdb_uri>'
PORT=3000
Add MONGO_URI
and preferred PORT
to your .env
file
npm run dev
npm start