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
- 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
Frontend: React.js (Vite), Tailwind CSS, ShadCN UI, Axios
Backend: Node.js, Express.js, MongoDB, JWT Auth, OpenAI API
AIRA/ ├─ client/ # React frontend │ ├─ src/ │ │ ├─ components/ │ │ ├─ context/ │ │ ├─ assets/ │ │ └─ pages/ │ └─ package.json ├─ server/ # Express backend │ ├─ models/ │ ├─ routes/ │ ├─ controllers/ │ ├─ middleware/ │ └─ package.json
yaml Copy code
# 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! ❤️