Skip to content

Latest commit

Β 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AIRA – AI Chatbot (MERN + OpenAI)

AIRA (AI-powered Responsive Assistant) is a ChatGPT-like AI chatbot built with the MERN stack and OpenAI API.
It allows users to chat with AI, manage conversations, generate AI images, and explore community creations.

🌐 Live Demo: Open App


🧠 Features

  • AI Chat & Image Generation using OpenAI API
  • MERN Stack: MongoDB, Express, React, Node.js
  • Authentication: JWT-based login/signup
  • Chat Management: Create, delete, search chats
  • Dark & Light Mode with Tailwind CSS & ShadCN UI
  • Community Images: Explore AI-generated content
  • Credits System: Unlock Pro features
  • Responsive UI for all devices

πŸ—οΈ Tech Stack

Frontend: React.js (Vite), Tailwind CSS, ShadCN UI, Axios
Backend: Node.js, Express.js, MongoDB, JWT Auth, OpenAI API


πŸ“‚ Project Structure

AIRA/ β”œβ”€ client/ # React frontend β”‚ β”œβ”€ src/ β”‚ β”‚ β”œβ”€ components/ β”‚ β”‚ β”œβ”€ context/ β”‚ β”‚ β”œβ”€ assets/ β”‚ β”‚ └─ pages/ β”‚ └─ package.json β”œβ”€ server/ # Express backend β”‚ β”œβ”€ models/ β”‚ β”œβ”€ routes/ β”‚ β”œβ”€ controllers/ β”‚ β”œβ”€ middleware/ β”‚ └─ package.json

yaml Copy code


⚑ Installation

# Clone repo
git clone https://github.com/your-username/aira.git
cd aira

# Backend setup
cd server
npm install
# Create .env with:
# PORT=5000
# MONGO_URI=your_mongodb_url
# JWT_SECRET=your_secret_key
# OPENAI_API_KEY=your_openai_api_key
npm run server

# Frontend setup
cd ../client
npm install
# Create .env with:
# VITE_SERVER_URL=http://localhost:5000
npm run dev
πŸš€ How It Works
Authentication: Login/Signup with JWT

Chat Sessions: Create/manage multiple chats

AI Interaction: Chat or generate images via OpenAI

Community: View & share AI-generated images

Credits: Upgrade to AIRA Pro for extra features

🌟 Future Enhancements
Voice-based AI responses πŸŽ™οΈ

Multilingual support 🌍

AI-powered code generation πŸ’»

Drag & drop image generation πŸ–ΌοΈ

🀝 Contributing
Fork the repo

Create a feature branch

Commit changes

Push & open a Pull Request

πŸ“œ License
MIT License – free to use, modify, and distribute.

πŸ‘₯ Author
Sumit Kumar Jaiswal

⭐ If you like AIRA, please star the repo and share! ❀️

About

AIRA (AI-powered Responsive Assistant) is a ChatGPT-like AI chatbot built with the MERN stack and OpenAI API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages