Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

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

Repository files navigation

🧠 ChatGPT Clone - MERN Stack

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.

πŸš€ Features

  • 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

πŸ’» Tech Stack

  • Frontend: React.js, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • AI: OpenAI API
  • Payments: Stripe
  • Image Management: ImageKit

⚑ How to Run Locally

# Clone the repo
git clone https://github.com/BhavyaB19/chatgpt.git

Start the backend

cd server npm install npm run dev

Start the frontend

cd client npm install npm run dev

πŸ“‚ Folder Structure

chatgpt/
β”œβ”€β”€ client/       # React frontend
β”œβ”€β”€ server/       # Node.js backend
β”œβ”€β”€ .env          # API keys & environment variables
└── README.md

πŸ”— Live Demo

Click here

πŸ’‘ Future Improvements

  • Real-time chat with WebSockets
  • Advanced image editing features
  • Leaderboard & community engagement

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages