This is an AI Chat Application built using Gemini-Pro, React, Node.js, and Express. With this application, users can engage in conversations with an AI and receive answers to their queries.
- AI Chat: Users can chat with an AI and receive responses.
- Gemini-Pro Model: The application utilizes the Gemini-Pro model of Gemini for AI conversation.
- Rate Limiting: To prevent overload, the application implements rate limiting, allowing only 5 requests per minute.
- Frontend: React
- Backend: Node.js, Express
- AI Model: Gemini-Pro
-
Clone the repository.
-
Navigate to the project directory.
-
Install dependencies for both frontend and backend:
cd gemini-client npm install cd .. cd gemini-server npm install
-
Create .env files in both client and server folders
-
Add in server env file
GEMINI_GEN_AI_KEY = PORT = CLIENT_URL =
-
Add in client env file
VITE_API_URL =
-
Run the application in development mode
// Client npm run dev // Server npm run dev
