Skip to main content

AI SaaS Chat Bot using MERN Stack – Tutorial


Curriculum for the course AI SaaS Chat Bot using MERN Stack – Tutorial

Learn how to build a secure and scalable AI chatbot with the MERN Stack and advanced authentication in this comprehensive course! The project is a ChatGPT Clone. The project uses React, Node, MongoDB, Express, and Typescript. By the end of this video you will have a deep understanding of creating an advanced, secure, and production ready SaaS applications with the MERN stack. 💻 Code: https://github.com/Nikhilthadani/MERN-AI-ChatBot ✏️ Created by @IndianCoders Key features: - MERN stack deep guide - Create user authentication and authorization system - Implementing express-validators middleware to validate data - Storing user's chats in MongoDB - Generating custom and our own authentication system - Using JWT authorization tokens, HTTP only cookies - Protecting user routes with verification checks - Modern React app with Vite - Creating beautiful chat UI with Material UI library - Complete responsive design - Modern design - Integrating OpenAI with Node, Express MERN stack app - A full stack ChatGPT like clone - Storing user sessions ⭐️ Contents ⭐️ 0:00:35 Introduction, Demo and Overview 0:07:39 Deep Introduction About Our Goals 0:08:33 What is MERN Stack? 0:09:56 Why should we use MERN Stack instead of other stacks? 0:12:30 Technical Introduction On Our Project 0:13:57 Setup Node, Express Starting Project With TypeScript 0:18:52 How to create REST API With NodeJS and Express (Practical) 0:31:15 Setup MongoDB Database Connection 0:43:46 Get API Keys From OpenAI 0:46:05 Setting Up Routes For Users and Chats 0:53:19 Define Database Models and Schema 0:59:30 Creating our first GET Request to get all users 1:05:24 Creating User Signup POST Route To Store Users 1:13:35 What is a Middleware? 1:18:20 Setting up data validation middleware with express-validator library 1:29:34 Creating User Login Route 1:37:51 Deep dive into User Authentication and Authorization With JWT Access Tokens and HTTP Only Cookies (Explanation) 1:44:45 Implementing JWT Tokens 1:49:50 Setting HTTP Only Cookies with Cookie-parser 1:57:05 Setting Up Frontend. A React App With Vite and Typescript, Installing Dependencies, Importing Fonts 2:08:29 Creating a customized theme of Material UI 2:09:58 Add Routes with react-router-dom 2:14:16 Design App's Header 2:23:30 Adding Authentication Context Provider 2:36:32 Adding Navigation Links To Header 2:46:07 Designing Login Screen UI 3:05:40 Creating and Sending API Request to backend 3:19:33 Keeping the user logged in: Verify JWT Token Validity and Login the user 3:35:43 Integrating OpenAI to NodeJS application and creating chat completion route request 3:51:57 Designing Chat Page UI on Frontend 4:25:03 Sending API Request For Chat completion 4:34:26 Display Code Blocks in React App 4:51:00 Fetch All Chats Of User On Refresh 4:58:16 Deleting all chats of user 5:02:56 Adding Protected Routes and Logout user request 5:11:50 Creating Signup UI 5:15:30 Design Homepage UI: Adding Typing Animation and Images Rotation and Screenshot of our chat. 5:31:21 Fixing alignment issues 5:34:35 Summary! 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: AI SaaS Chat Bot using MERN Stack – Tutorial


Click Here to watch on Youtube: AI SaaS Chat Bot using MERN Stack – Tutorial


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy AI SaaS Chat Bot using MERN Stack – Tutorial courses free download, Plurasight AI SaaS Chat Bot using MERN Stack – Tutorial courses free download, Linda AI SaaS Chat Bot using MERN Stack – Tutorial courses free download, Coursera AI SaaS Chat Bot using MERN Stack – Tutorial course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Comments

Popular posts from this blog

Fake CVR Generator Denmark

What Is Danish CVR The Central Business Register (CVR) is the central register of the state with information on all Danish companies. Since 1999, the Central Business Register has been the authoritative register for current and historical basic data on all registered companies in Denmark. Data comes from the companies' own registrations on Virk Report. There is also information on associations and public authorities in the CVR. As of 2018, CVR also contains information on Greenlandic companies, associations and authorities. In CVR at Virk you can do single lookups, filtered searches, create extracts and subscriptions, and retrieve a wide range of company documents and transcripts. Generate Danish CVR For Test (Fake) Click the button below to generate the valid CVR number for Denmark. You can click multiple times to generate several numbers. These numbers can be used to Test your sofware application that uses CVR, or Testing CVR APIs that Danish Govt provide. Generate

How To Iterate Dictionary Object

Dictionary is a object that can store values in Key-Value pair. its just like a list, the only difference is: List can be iterate using index(0-n) but not the Dictionary . Generally when we try to iterate the dictionary we get below error: " Collection was modified; enumeration operation may not execute. " So How to parse a dictionary and modify its values?? To iterate dictionary we must loop through it's keys or key - value pair. Using keys

How To Append Data to HTML5 localStorage or sessionStorage?

The localStorage property allows you to access a local Storage object. localStorage is similar to sessionStorage. The only difference is that, while data stored in localStorage has no expiration time untill unless user deletes his cache, data stored in sessionStorage gets cleared when the originating window or tab get closed. These are new HTML5 objects and provide these methods to deal with it: The following snippet accesses the current domain's local Storage object and adds a data item to it using Storage.setItem() . localStorage.setItem('myFav', 'Taylor Swift'); or you can use the keyname directly as : localStorage.myFav = 'Taylor Swift'; To grab the value set in localStorage or sessionStorage, we can use localStorage.getItem("myFav"); or localStorage.myFav There's no append function for localStorage or sessionStorage objects. It's not hard to write one though.The simplest solution goes here: But we can kee