A real-time chatbot built with Node.js, Express, and EJS, powered by Google's Gemini API.
This project allows users to interact with an intelligent chatbot directly from a web interface.
Web-Chat-Bot/ │── routes/ # Application routes │── views/ # EJS templates for frontend │── api.js # Gemini API integration │── server.js # Main server file │── package.json # Dependencies & project metadata │── .gitignore # Ignored files
- 🌐 Web-based chat interface using EJS templates
- ⚡ Real-time responses from Gemini API
- Backend: Node.js, Express
- Frontend: EJS, CSS
- AI Model: Gemini API
- Version Control: Git & GitHub
Follow these steps to set up and run the project locally:
git clone https://github.com/ShreyasN707/Web-Chat-Bot.git cd Web-Chat-Bot 2️⃣ Install dependencies
npm install
3️⃣ Configure environment variables Create a .env file in the root directory
Add your Gemini API key inside:
.env GEMINI_API_KEY=your_api_key_here
4️⃣ Start the server node server.js
🎯 Usage
Open the chat interface in your browser
Type your query in the input box
The chatbot responds instantly using Gemini API