A modern, scalable, and production-ready AI Chat Application built with React, FastAPI, PostgreSQL, and multiple AI providers.
- 💬 Real-time AI Chat
- 🤖 Multiple AI Models (OpenAI, Gemini, Claude, Groq)
- 🔐 JWT Authentication
- 📁 File Upload Support
- 📚 RAG (Retrieval-Augmented Generation)
- 🧠 Conversation Memory
- ⚡ Streaming Responses
- 🌙 Dark Mode
- 📱 Responsive Design
- 📜 Chat History
- 🔍 Search Conversations
- 🐳 Docker Support
- React
- Vite
- Tailwind CSS
- React Router
- Axios
- FastAPI
- SQLAlchemy
- PostgreSQL
- Redis
- Alembic
- OpenAI
- Google Gemini
- Anthropic Claude
- Groq
AI-chat/
│
├── backend/
│ ├── app/
│ ├── .venv/
│ ├── .env.example
│ ├── requirements.txt
│ └── README.md
│
├── frontend/
│ ├── src/
│ ├── public/
│ ├── package.json
│ └── README.md
│
├── .gitignore
├── README.md
└── LICENSE
git clone <repository-url>
cd AI-chatcd backend
python -m venv .venv
# Windows
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
uvicorn app.main:app --reloadBackend runs on:
http://127.0.0.1:8000
Swagger Docs:
http://127.0.0.1:8000/docs
cd frontend
npm install
npm run devFrontend runs on:
http://localhost:5173
Backend:
backend/.env
Frontend:
frontend/.env
- Authentication
- Chat UI
- AI Integration
- Streaming Responses
- Chat History
- File Upload
- RAG
- AI Agents
- MCP Support
- Docker
- CI/CD
This project is licensed under the MIT License.
Muhammad Faheem