-
npm
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/esrasen9/mern-blog-app
-
Cd into the directories and install npm packages
cd api
npm install
cd ../client
npm install
-
Create a .env file in the api directory and store the following:
You can obtain the url after create a collection on MongoDB Atlas//Insert the correct connection URL for your MongoDB database MONGO_CONNECTION_URL=""
PORT=5001