-
Clone the repository using
git clone https://github.com/IshaanShettigar/Eavesdrop.git
-
Install all dependencies using
npm i
-
Run the code by running the following command in the terminal
npm run start
-
For the Backend, run
cd backend
and then:npm install
-
Create a
.env
with the following variables- PORT = 5000
- MONGO_URI = mongodb+srv://:@cluster0.3wcvvpq.mongodb.net/?retryWrites=true&w=majority
Replace with your MongoDB user name eg.) ishaanshettigar Replace with your MongoDB password eg.) iitbombay Replace with the name of your database eg.) Eavesdrop
-
Run the following command in your terminal once you have cd'ed into the backend folder
node populatedb.js
-
Run
npm run dev