https://drive.google.com/drive/folders/11T6sKqv8jCLWKQmg0vznQg_QEMaBjgnV?usp=sharing
-
Navigate to the backend folder:
cd backend -
Install dependencies:
npm install
-
Create a
.envfile in the backend folder with required environment variables:MONGODB_URI=your_mongodb_uri PORT=5000 CLERK_SECRET_KEY=your_clerk_secret_key GEMINI_API_KEY=key -
Start the server:
npx nodemon index.js
-
Navigate to the frontend folder:
cd frontend -
Install dependencies:
npm install
-
Create a
.envfile in the frontend folder with:VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key VITE_API_URL=http://localhost:5000 -
Start the development server:
npm run dev
The frontend will typically run on http://localhost:5173 and the backend on http://localhost:5000.