filmov
tv
Complete Authentication NextJS ExpressJS MongoDB PassportJS
![preview_player](https://i.ytimg.com/vi/7P8wVQHFerk/maxresdefault.jpg)
Показать описание
Complete Authentication NextJS ExpressJS MongoDB PassportJS
00:00:00 Introduction
00:06:15 Features
00:07:49 Backend Express JS Project Setup
00:13:00 Setup Postman for API Testing
00:13:33 Creating and Running Server
00:15:37 Config CORS
00:18:14 Config JSON
00:18:24 Config Cookie Parser
00:18:39 Connect Database
00:22:32 Config Passport js
00:23:54 User Model
00:26:57 User Controller
00:28:31 User Registration
00:35:23 Create and Load Routes
00:38:19 Register User using Postman
00:42:50 Email Config
00:43:39 Generate Gmail App Password
00:45:50 Setup Nodemailer to Send Email
00:47:00 Send Email Verification OTP via Email
00:51:24 EmailVerification Model
00:53:56 Send OTP Via email using Postman
00:55:45 Verify Email Controller
01:04:50 Verify Email using Postman
01:08:33 User Login Controller
01:12:15 Generate Access and Refresh Token
01:18:01 UserRefreshToken Model
01:23:44 Set Access and Refresh Token to Cookies
01:28:02 User Login using Postman
01:33:33 GetNewAccessToken Controller OR Refresh Token
01:35:58 Refresh Access Token
01:37:16 Verify Refresh Token
01:49:40 Get New Access Token using Postman
01:51:04 UserProfile Controller
01:52:50 Passport JWT Strategy
01:59:44 User Profile using Postman
02:04:24 SetAuthorizationHeader Middleware
02:05:43 Check Token Expired
02:10:00 AccessTokenAutoRefresh Middleware
02:23:48 UserLogout Controller
02:25:47 User Logout using Postman
02:26:45 ChangeUserPassword Controller
02:28:47 Change User Password using Postman
02:30:28 SendUserPasswordRestEmail Controller
02:34:00 Send User Password Rest Email using Postman
02:35:34 UserPasswordReset Controller
02:39:00 User Password Reset using Postman
02:43:39 Frontend Introduction and Requirements
02:46:32 Frontend NextJS Project Setup
02:51:10 Home Page UI
02:53:30 Navbar UI
02:57:11 LoadingIndicator UI
02:59:39 Register Page UI
03:02:19 AccountLayout
03:03:18 Handle Register Form using Formik
03:08:56 Register Form Validation using Yup
03:13:35 Showing Register Form Validation error
03:17:26 Login Page UI
03:19:41 Reset Password Link UI
03:22:32 Reset Password Confirm UI
03:26:50 Verify Email using OTP UI
03:29:52 User Profile UI
03:31:31 Redirect to Profile Page on Login
03:32:40 UserSidebar UI
03:33:24 UserLayout
03:34:46 Redirect to Home Page on Logout
03:35:36 Change Password UI
03:37:50 Setup and Config Redux Tookit and RTK Query
03:45:18 Create authApi Service
03:48:00 createUser API Call
04:12:16 verifyEmail API Call
04:21:00 loginUser API Call
04:27:36 getUser API Call
04:33:40 Conditional Render Navigation
04:38:08 logoutUser API Call
04:41:50 Protect Routes using Middleware
04:55:36 resetPasswordLink API Call
05:00:03 resetPassword API Call
05:04:33 changePassword API Call
00:00:00 Introduction
00:06:15 Features
00:07:49 Backend Express JS Project Setup
00:13:00 Setup Postman for API Testing
00:13:33 Creating and Running Server
00:15:37 Config CORS
00:18:14 Config JSON
00:18:24 Config Cookie Parser
00:18:39 Connect Database
00:22:32 Config Passport js
00:23:54 User Model
00:26:57 User Controller
00:28:31 User Registration
00:35:23 Create and Load Routes
00:38:19 Register User using Postman
00:42:50 Email Config
00:43:39 Generate Gmail App Password
00:45:50 Setup Nodemailer to Send Email
00:47:00 Send Email Verification OTP via Email
00:51:24 EmailVerification Model
00:53:56 Send OTP Via email using Postman
00:55:45 Verify Email Controller
01:04:50 Verify Email using Postman
01:08:33 User Login Controller
01:12:15 Generate Access and Refresh Token
01:18:01 UserRefreshToken Model
01:23:44 Set Access and Refresh Token to Cookies
01:28:02 User Login using Postman
01:33:33 GetNewAccessToken Controller OR Refresh Token
01:35:58 Refresh Access Token
01:37:16 Verify Refresh Token
01:49:40 Get New Access Token using Postman
01:51:04 UserProfile Controller
01:52:50 Passport JWT Strategy
01:59:44 User Profile using Postman
02:04:24 SetAuthorizationHeader Middleware
02:05:43 Check Token Expired
02:10:00 AccessTokenAutoRefresh Middleware
02:23:48 UserLogout Controller
02:25:47 User Logout using Postman
02:26:45 ChangeUserPassword Controller
02:28:47 Change User Password using Postman
02:30:28 SendUserPasswordRestEmail Controller
02:34:00 Send User Password Rest Email using Postman
02:35:34 UserPasswordReset Controller
02:39:00 User Password Reset using Postman
02:43:39 Frontend Introduction and Requirements
02:46:32 Frontend NextJS Project Setup
02:51:10 Home Page UI
02:53:30 Navbar UI
02:57:11 LoadingIndicator UI
02:59:39 Register Page UI
03:02:19 AccountLayout
03:03:18 Handle Register Form using Formik
03:08:56 Register Form Validation using Yup
03:13:35 Showing Register Form Validation error
03:17:26 Login Page UI
03:19:41 Reset Password Link UI
03:22:32 Reset Password Confirm UI
03:26:50 Verify Email using OTP UI
03:29:52 User Profile UI
03:31:31 Redirect to Profile Page on Login
03:32:40 UserSidebar UI
03:33:24 UserLayout
03:34:46 Redirect to Home Page on Logout
03:35:36 Change Password UI
03:37:50 Setup and Config Redux Tookit and RTK Query
03:45:18 Create authApi Service
03:48:00 createUser API Call
04:12:16 verifyEmail API Call
04:21:00 loginUser API Call
04:27:36 getUser API Call
04:33:40 Conditional Render Navigation
04:38:08 logoutUser API Call
04:41:50 Protect Routes using Middleware
04:55:36 resetPasswordLink API Call
05:00:03 resetPassword API Call
05:04:33 changePassword API Call
Комментарии