{"repo":"ansonbenny/ChatGPT","free":true,"listed":false,"github":"https://github.com/ansonbenny/ChatGPT","clone":"git clone https://github.com/ansonbenny/ChatGPT.git","description":"ChatGPT clone developed using MERN stack","language":"JavaScript","stars":63,"topics":["chatbot","chatgpt","mern","mongodb","nodejs","reactjs","redux-toolkit","openai","chatgpt-api","chatgpt-clone"],"license":"MIT","category":"ai-agents","readme_excerpt":"ChatGPT Clone A simple ChatGPT clone built using the MERN stack (MongoDB, Express.js, React, Node.js) . This project uses the OpenAI API to allow human-like conversations, just like the real ChatGPT. --- ✨ Features Chat with AI (using OpenAI) Google login & signup Email/password login Forgot password option Save chat history Auto-save chat Delete account option Light & Dark modes Works offline (PWA) Mobile responsive design --- 🛠️ Tech Stack Frontend: Vite React.js SCSS Redux Toolkit Backend: Node.js Express.js MongoDB JSON Web Token (JWT) for authentication Others: OpenAI API Google Login JavaScript --- ✅ Prerequisites Before you begin, make sure you have the following installed: Node.js & npm MongoDB Git An OpenAI API key --- 🔐 Environment Variables Backend ( /server/.env ) Create a .env file inside the server folder with the following: Frontend ( /client/.env.local ) Create a .env.local file inside the client folder with: --- 🚀 Getting Started 1. Clone the Repository --- 2. Start the Backend --- 3. Start the Frontend --- 🌐 Access the App Once both the frontend and backend are running, open your browser and go to: --- 📌 Notes You need an OpenAI API key for the chat to work. Google login requires a valid OAuth Client ID (you can get it from the Google Developer Console). For email features like \"Forgot Password\", you need to configure email credentials correctly. --- Demo Live https://user-images.githubusercontent.com/94070164/236692494-a50edafc-7864-439a-9cb3-fa112abc0","default_branch":null,"files":null,"tree":[],"storefront":"/r/ansonbenny","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ansonbenny/ChatGPT/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}