🌟 Support the author: https://donationalerts.com/r/TeaCoder
🔗 Project on the website: teacoder.ru/courses/full-stack-avtorizatsiya
📢 Join the Telegram channel: https://t.me/TeaCoder_official
In this course, we will create a powerful and secure authorization system by implementing key features such as email confirmation, two-factor authentication, password recovery, and role management. We will cover all the important aspects of developing a modern authorization system.
🎯 What we will implement in the video:
- 🔒 Authorization system with sessions
- 🔑 Social media authorization (Google and Yandex)
- 📧 Email confirmation
- 🔐 Two-factor authentication
- 🔄 Password recovery
- 🧑💼 User roles
- 🏗️ Project with FSD architecture
🛠️ Project stack: Nest.js, Docker, Prisma, PostgreSQL, Redis, TypeScript, Next.js, Shadcn UI, Tanstack Query
🕒 Timestamps:
00:00:00 - Start
00:01:04 - DEMO
00:05:03 - Creating a NestJS project
00:07:29 - Containerization with Docker
00:13:56 - Installing dependencies
00:15:56 - Setting up main.ts
00:20:31 - Database schema
00:27:44 - Session management
00:34:30 - First entity
00:35:52 - Creating UserService
00:40:49 - Basic authorization
00:56:57 - Creating decorators and guards
01:12:20 - Integrating Google reCAPTCHA
01:16:26 - OAuth authorization
02:01:23 - Setting up the mail server
02:08:25 - Email confirmation
02:32:22 - Password recovery
02:46:28 - Two-factor authentication (2FA)
02:59:22 - Profile update
03:04:03 - Creating and setting up the NextJS project
03:20:10 - Theme switching
03:24:41 - AuthWrapper component
03:34:22 - Registration form
03:46:46 - Login form
03:49:26 - Integrating Google reCAPTCHA
03:56:44 - Fetch API
04:15:11 - Authorization requests
04:18:47 - Authorization mutations
04:30:05 - Social media authorization
04:34:52 - Middleware
04:39:26 - Email verification
04:48:33 - Password recovery
05:03:44 - Two-factor authentication (2FA)
05:08:07 - Profile settings
05:31:33 - End
#nestjs #docker #postgresql #typescript #fsd #nextjs #shadcn #programming #authorization