A web application built with MongoDB, Express, React, Node.js that leverages the OpenAI API to provide a ChatGPT-like experience. Users can authenticate, switch to dark mode, purchase credits, and share their AI-generated images with the community.
- User authentication (signup/login)
- Dark mode toggle
- Credits purchase using Stripe
- AI-generated image sharing in the Community page
- Image storage and optimization with ImageKit
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- AI: OpenAI API
- Payments: Stripe
- Image Management: ImageKit
# Clone the repo git clone https://github.com/BhavyaB19/chatgpt.gitcd server npm install npm run dev
cd client npm install npm run dev
chatgpt/ βββ client/ # React frontend βββ server/ # Node.js backend βββ .env # API keys & environment variables βββ README.md
- Real-time chat with WebSockets
- Advanced image editing features
- Leaderboard & community engagement