Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Chat Application

A modern, scalable, and production-ready AI Chat Application built with React, FastAPI, PostgreSQL, and multiple AI providers.


🚀 Features

  • 💬 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

🛠️ Tech Stack

Frontend

  • React
  • Vite
  • Tailwind CSS
  • React Router
  • Axios

Backend

  • FastAPI
  • SQLAlchemy
  • PostgreSQL
  • Redis
  • Alembic

AI

  • OpenAI
  • Google Gemini
  • Anthropic Claude
  • Groq

📂 Project Structure

AI-chat/
│
├── backend/
│   ├── app/
│   ├── .venv/
│   ├── .env.example
│   ├── requirements.txt
│   └── README.md
│
├── frontend/
│   ├── src/
│   ├── public/
│   ├── package.json
│   └── README.md
│
├── .gitignore
├── README.md
└── LICENSE

⚙️ Installation

Clone Repository

git clone <repository-url>
cd AI-chat

Backend

cd backend

python -m venv .venv

# Windows
.venv\Scripts\Activate.ps1

pip install -r requirements.txt

uvicorn app.main:app --reload

Backend runs on:

http://127.0.0.1:8000

Swagger Docs:

http://127.0.0.1:8000/docs

Frontend

cd frontend

npm install

npm run dev

Frontend runs on:

http://localhost:5173

📌 Environment Variables

Backend:

backend/.env

Frontend:

frontend/.env

📅 Roadmap

  • Authentication
  • Chat UI
  • AI Integration
  • Streaming Responses
  • Chat History
  • File Upload
  • RAG
  • AI Agents
  • MCP Support
  • Docker
  • CI/CD

📄 License

This project is licensed under the MIT License.


👨‍💻 Author

Muhammad Faheem

About

A full-stack AI chat application showcasing modern frontend development, secure backend APIs, authentication, AI API integration, streaming responses, Markdown rendering, chat history, and scalable architecture.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages