This repository contains my learning from Instagram-Clone-MERN-Stack course I took on udemy. Thanks to @mukeshphulwani66 for an amazing course.
To run the project:
- Run
npm install
- Move to
client
directory and runnpm install
Once all the dependencies are installed, we'll set up the environment config file name .env
in the root folder.
The .env
contains the following variables:
- MONGO_URI
- JWT_SECRET
- JWT_LIFETIME
- SG_API_KEY (API KEY from sendgrid for email)
Next to start the backend and frontend to view to application:
- Run
npm start
(in root folder) - Move to
client
folder and runnpm start