-
Change directory to the backend folder:
cd backend -
Install dependencies:
npm install
-
Start the backend server:
npm start
-
Open a new terminal and change directory to the frontend folder:
cd frontend -
Install frontend dependencies:
npm install
-
Start the frontend development server:
npm run dev
Create a .env file in the backend directory with the following variables:
MONGO_URI=""
PORT=""
JWT_SECRET=""
EMAIL=""
EMAIL_PASS=""
GEMINI_API_KEY=""Replace the values with your actual configuration.