Skip to content

Latest commit

Β 

History

History
80 lines (48 loc) Β· 1.64 KB

File metadata and controls

80 lines (48 loc) Β· 1.64 KB

πŸ€– AI Chatbot

Welcome to the AI Chatbot project! This is a full-stack web application that allows users to interact with a powerful AI model in real-time through a clean and responsive web interface.

πŸ”— Live Demo: AI Chatbot Web App


πŸ“Œ Features

  • πŸ’¬ Ask any question and get instant answers from AI
  • ⚑ Powered by Gemini 2.0 Flash (Google Generative AI)
  • πŸ” Secure API integration using .env files
  • πŸ” Fast response and dynamic UI using React
  • 🌐 Deployed on Render (Backend) and Netlify (Frontend)

πŸ› οΈ Tech Stack

πŸ–₯️ Frontend:

  • React.js
  • Tailwind CSS (optional)
  • Axios (for API calls)

🌐 Backend:

  • Node.js
  • Express.js
  • Google Generative AI SDK (@google/generative-ai)
  • dotenv for secure environment variables

πŸš€ Project Structure

image


πŸ”§ Setup Instructions

1. Clone the Repository

git clone https://github.com/your-username/ai-chatbot.git cd ai-chatbot

2. Install Dependencies

Frontend: cd ai-qa-app npm install

Backend: cd ../backend npm install

3. Configure Environment Variables

Create a .env file in the backend/ folder: GEMINI_API_KEY=your_google_generative_ai_key PORT=5000

image

App runs on:

Frontend β†’ http://localhost:3000

Backend β†’ http://localhost:5000

image

πŸ“œ License This project is licensed under the MIT License.