MENU

Fun & Interesting

Build Advanced MERN Auth with Nodejs, 2FA, Email Verification, Cookies, Sessions, JWT & Nextjs

TechWithEmma 38,849 5 months ago
Video Not Working? Fix It Now

In this tutorial, we will build a secure, production-ready authentication system with Node.js, Next.js, and TypeScript. Implement 2FA, Email Verification, Password Reset, Access & Refresh Tokens, Rate Limiting, and Session Management for enhanced security. Deploy seamlessly on Render.com and integrate with React or Next.js apps. #nextjs14 #reactjs #tailwindcss #nodejs #coding 🙌 Support my work by giving a "Super Thanks!" Your support helps me keep creating amazing content!" 🙏🙏 Like & Subscribe To the Channel - https://tinyurl.com/subcribe-to-techwithEmma 🐦 Follow us on Twitter: https://x.com/techwithemma 🖼️ Follow us on Instagram: https://www.instagram.com/techwithemmaofficial 💻👉 Access the course files on GitHub (Give a Star ⭐): Course files:https://github.com/TechWithEmmaYT/Advanced-MERN-Auths-2FA 💻👉Build AI Resume Builder with Next.js, React, Hono, Drizzle, Kinde & Postgres | PDF Download: on Youtube: https://www.youtube.com/watch?v=JXJuGNAAKR4 💻👉 Build and Deploy: TWITTER Clone with Next, Auth, Prisma, Neon, Tailwind & Stripe (2024!: on Youtube: https://www.youtube.com/watch?v=t-BhFbiDxxk&t=102s 💻👉 Tailwind CSS Full Course | Build an AI Saas Website: on Youtube: https://www.youtube.com/watch?v=4LaRHJUZ_sc&t=68s 💻👉 Shadcn ui Crash Course: Reactjs/Next.js 14 UI Components Everyone's Using!: on Youtube: https://www.youtube.com/watch?v=Q3hZybuD_xQ 🗝️Key Features: 👇 🗄️ Database Setup 🔐 Signup Endpoint 📧 Email Verification & Template 🔑 Login Endpoint 🔄 Forgot & Reset Password Endpoints 🛡️ Access & Refresh Tokens 🖥️ Session Management & Logout 📲 2FA Setup & Verification 📉 Rate Limiting 🛠️ Passport JWT 🗂️ Production-Ready Structure 🌐 Frontend Setup 📋 Signup & Login Page UI ✅ Email Verification Page UI 🔒 Protecting Routes & Implementing Login 🏠 Dashboard Page 📲 Implementing 2FA Setup & Verification 🖥️ Implementing Session Management - Track active sessions 🚪 Implementing Logout - Secure session termination 💡 Light & Dark Mode 🌐 Built with Node.js, TypeScript, Next.js 📚 Chapters 👇 00:00 Intro 00:27 Demo 01:29 Project Setup & Structure 28:32 Database Setup 38:00 Error Handling 01:11:43 Register API & Models 02:13:36 Login API 02:39:28 Refresh API 03:17:36 Verify Email API 03:30:55 Send Email & Templates 03:44:06 Forgot Password API 04:05:13 Reset Password API 04:20:14 Passport (JWT) Setup 04:37:21 Logout API 04:42:15 Sessions API 05:07:03 2FA (Authenticator) API 05:57:33 Frontend Implementation 🗃️Resources 👇 🔗👉NextJS - https://nextjs.org/ 🔗👉Resend -https://resend.com/ 🔗👉ReactQuery - https://tanstack.com/query/latest 🔗👉TailwindCSS - https://tailwindcss.com/ 🔗👉Shadcn UI - https://ui.shadcn.com/docs/installation/next 🙌 Support my work: https://buymeacoffee.com/techwithemmaofficial ☕️ 💻👉Like & Subscribe To the Channel Channel: https://tinyurl.com/subcribe-to-techwithEmma ☀️Advanced MERN Auth Course: 2FA, Email Verification, Password Recovery, and Welcome Emails Skip this: node authentication node authentication jwt node auth tutorial (jwt) node authentication and authorization node auth0

Comment