A modern, responsive chat application that allows users to interact with an AI assistant. Built with React and Node.js, this application provides a seamless and intuitive chat experience.
Contributions are welcome! Please feel free to submit a Pull Request.
- 💬 Real-time chat interface with AI
- 🎨 Modern and responsive design
- 📱 Mobile-friendly layout
- ⚡ Fast and efficient message handling
- 🎯 Smooth animations and transitions
- 🌙 Clean and intuitive user interface
-
Frontend:
- React.js
- CSS3 with modern features
- Axios for API requests
-
Backend:
- Node.js
- Express.js
- GEMINI API integration
- Node.js (v14 or higher)
- npm or yarn
- GEMINI API key
- Clone the repository:
git clone https://github.com/berkaydgn/ai-chat-app.git
cd ai-chat-app- Install dependencies:
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm install- Create a
.envfile in the backend directory:
GEMINI_API_KEY=your_api_key_here
GEMINI_MODEL=gemini_model_here
GEMINI_BASE_URL=gemini_base_url_here- Start the application:
# Start backend server (from backend directory)
npm start
# Start frontend development server (from frontend directory)
npm startThe application will be available at http://localhost:3000
- Clean and intuitive interface
- Responsive design that works on all devices
- Smooth animations for better user experience
- Real-time message updates
- Instant message delivery
- Loading states and indicators
- Error handling and user feedback
- Gemini API integration for AI chat capabilities
- Secure API key handling
- Efficient state management
- Optimized performance