NodeJS & Redis Authentication tutorial using Cookie Sessions

Veröffentlicht am: 02 September 2022
auf dem Kanal: Code with Ahsan
5,161
137

In this video, we're looking at a real-world example of NodeJS, ExpressJS, and Redis to implement a cookie-based authentication system in our app. This tutorial teaches you everything from scratch so even if you have little to no knowledge of NodeJS, MongoDB and Redis, you'll still learn a lot from this video.

Code: https://github.com/AhsanAyaz/node-red...

Timeline:
00:06:32:29 - Nodemon for hot restart
00:07:30:38 - Rename User Router to Auth Router
00:08:32:36 - Implementing a basic session in NodeJS
00:15:55:15 - Installing Redis
00:23:58:31 - Creating our first request with Rapid API
00:23:58:31 - Creating our first API request with Rapid API
00:23:58:31 - Marker 1
00:28:24:29 - Creating routes for static pages
00:34:42:49 - Creating Login and Register Auth Routes
00:44:12:25 - Restriction access to pages based on user login
00:46:01:43 - Working with VSCode Debugger
00:48:21:05 - Getting started with MongoDB to save data persistently
01:02:49:33 - Removing the password property from responses
01:06:20:03 - Login with Bcrypt
01:27:56:05 - Implementing Logout functionality
01:34:16:01 - Implementing the languages list and selection
01:38:35:27 - Implementing isLoggedIn middleware
01:41:53:22 - Creating a languages seed script
01:53:53:37 - Implementing the me call
01:58:57:10 - Implementing Favorite Languages API
02:24:18:42 - Aggregate data From different collections in mongo db
02:36:04:02 - Deploying to heroku
02:42:47:27 - Connecting to remote Redis and MongoDB
02:43:41:47 - Blur Credentials
02:45:08:57 - Hide Credentials
02:48:18:58 - Blur Creds
02:55:49:29 - Making sure all routes that require authentication


Auf dieser Seite können Sie das Online-Video NodeJS & Redis Authentication tutorial using Cookie Sessions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code with Ahsan 02 September 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,161 Mal angesehen und es wurde von 137 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!