git clone https://github.com/your-abdurrohit/present-buddy-api.git
cd server
npm install
cd front-end
npm install
Obtain your API key from the Gemini Pro platform. Create a .env file in the root of your project. Add the following line to your .env file, replacing YOUR_API_KEY and YOUR_API_SECRET with your actual credentials:
API_KEY = YOUR_API_KEY
Important: Never commit your .env file to version control (add it to your .gitignore). Running the Project
Change apiResponse
address to localhost:8080
at
frontend/home.jsx
cd present-buddy-api
node index.js
cd frontend
npm start
All set you can access the Web App on
localhost:3000