NAAI is your personal AI assistant chatbot, powered by Google Gemini API (backend only, not user-facing). This project includes a React frontend and a Node.js/Express backend.
- Conversational AI assistant (NAAI)
- Modern React UI
- Node.js backend proxying requests to Gemini API
- Node.js (v18+ recommended)
- npm
-
Clone the repository:
git clone https://github.com/nitin3590/naai-chatbot.git cd chatbot -
Install dependencies:
cd client && npm install cd ../server && npm install
-
Set up environment variables:
- Create a
.envfile in theserver/directory:GEMINI_API_KEY=your_gemini_api_key_here
- Do NOT commit your
.envfile.
- Create a
-
Run the servers:
- In one terminal:
cd server node index.js - In another terminal:
cd client npm run dev
- In one terminal:
-
Access the chatbot:
- Open http://localhost:5173 in your browser.
- The backend is configured for local development (
localhost). For production, update the URLs as needed. - Never share your API key or commit
.envfiles.