Vigyata.AI
Is this your channel?

Build Your Own Full Stack ChatGPT using React js, OpenAI, ImageKit | AI MERN Stack Project

92.8K views· 2,316 likes· 368:45· Aug 21, 2025

🛍️ Products Mentioned (8)

Learn How to make full stack AI Chatbot like ChatGPT, Google Gemini using React js, OpenAI, ImageKit | MERN Stack Project 👉 ImageKit: https://tinyurl.com/bdzjb55k 👉 Live Preview: https://quick-gpt.vercel.app/ 👉 Source code & assets: http://greatstack.dev/p/quickgpt 👉 ImageKit docs: https://tinyurl.com/tnybufw3 SUBSCRIBE: @GreatStackDev ------------------- In this step-by-step MERN project tutorial, we will walk you through the development and deployment of a AI Chatbot Application using the MERN Stack (MongoDB, Express.js, React.js and Node.js) We will build an app where user can signup and generate text content and images using AI. We will use Google gemini AI model with Open AI react package. To generate images using prompt we will use ImageKit. We will also add online payment gateway to purchase credits online. after building this full stack AI chat-bot app we will deploy it online. #fullstack #mernstack #webdevelopment #fullstackproject #codingprojects #collegeprojects #greatstack #placement #openai #gemini ------------------- Timestamps: 00:00 Project Overview 05:45 Create Basic React Project 12:30 Create Home page and Components 36:40 Create Sidebar Page 01:11:50 Create ChatBox Page 01:47:08 Create Loading Page 01:50:28 Create Community Page 01:56:49 Create Credits Page 02:05:14 Create Login Page 02:14:25 Create Backend Server 02:26:10 Connect MongoDB Database 02:52:14 Create Middlewares 02:59:55 Testing APIs 03:30:25 Add Google Gemini API 03:43:54 Connect ImageKit for image Generation and Storage 04:28:28 Connect Stripe Payment Gateway 04:58:05 Deploy Backend Server 05:06:39 Connect Backend and Fronted 06:04:28 Deploy Project Online ------------------- Watch MERN Stack Grocery Delivery App tutorial: 👉 https://youtu.be/PaQX0pktLnw Watch MERN Stack Food Order Website tutorial: 👉 https://youtu.be/DBMPXJJfQEA Watch Full Stack Chat App tutorial: 👉 https://youtu.be/gbocZlm71nE Watch Full Stack Music Streaming Website 👉 https://youtu.be/KdGfhSpT6pc Watch Full Stack Blog Website Tutorial 👉 https://youtu.be/HdWCh_4XE1Q ------------------------------------- Build more React JS projects: Complete Portfolio Website In React: 👉 https://youtu.be/4ag1LsgIUc0 Build ChatGPT Clone In React: 👉 https://youtu.be/EzkWAviyYgg Build AI Image Generator with OpenAI In React 👉 https://youtu.be/PZG2MvOjud0 Create Weather App In React 👉 https://youtu.be/7JqdjWB88Kk ------------------------------------- Images Credit: https://www.pexels.com/ https://unsplash.com/ https://www.freepik.com/ ------------------------------------- Connect with me: 👉 https://linktr.ee/iamavinashkr Connect with GreatStack: Instagram: https://instagram.com/GreatStackDev Twitter: https://twitter.com/GreatStackDev Facebook: https://facebook.com/GreatStack

About This Video

In this video, I’m building and deploying a full stack AI chatbot app (ChatGPT / Gemini style) using the MERN stack—MongoDB, Express, React, and Node. I start by showing you the full demo: users can sign up/login, create new chats, search chat history from the sidebar, and generate either text responses or AI images from the same chat UI. I also added a community page where you can publish your generated images so other users can see them, plus a credits system (20 free credits on signup) where text generation costs 1 credit and image generation costs 2 credits. Then I take you step-by-step through the complete build: setting up a React app with Vite, adding React Router for pages (chat, credits, community), and using Context API to manage global state like user, chats, selected chat, and theme. I also set up Tailwind CSS, Google fonts, light/dark mode, and the full UI structure (sidebar, chatbox, messages). On the backend side, we connect MongoDB, create middleware, test APIs, integrate Google Gemini for AI text, and use ImageKit for image generation + storage/optimization. Finally, I add Stripe so users can buy credits, and deploy the project online (frontend on Vercel) so you can actually use it as a portfolio project or even your college project.

Frequently Asked Questions

🎬 More from GreatStack