Follow these steps to set up the project:
- Fork the repository and clone it.
- Navigate to the Udharo directory:
cd Udharo
MongoDB Compass is a GUI for managing your MongoDB databases.
- Download: MongoDB Compass
- Install: Follow the complete installation instructions
- Ensure MongoDB is running
If this does not work, press Win + R and type services.msc. Search MongoDB, right click on it and click start. Now its status should be running.
mongod
-
Navigate to the client directory:
cd client -
Install dependencies:
npm install
-
Copy the
.env.examplefile to.env:cp .env.example .env
-
Run the application:
npm run dev
-
Open new terminal and navigate to the server directory:
cd server -
Install dependencies:
npm install
-
Copy the
.env.examplefile to.env:cp .env.example .env
-
Run the server:
npm run devStart