NodeJS & Redis Authentication tutorial using Cookie Sessions

Publié le: 02 septembre 2022
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne NodeJS & Redis Authentication tutorial using Cookie Sessions durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code with Ahsan 02 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,161 fois et il a aimé 137 téléspectateurs. Bon visionnage!