TOIT Training

MERN Auth Tutorial

MERN Auth Tutorial
  • Overview
  • Curriculum
  • Reviews

This course is focused on implementing authentication in applications built with the MERN stack—MongoDB, Express.js, React, and Node.js. It explains the principles of securing a MERN application by managing users, encrypting passwords, and generating tokens for session handling. The course examines how to set up authentication middleware in Express.js to protect routes and how to use JSON Web Tokens (JWT) for maintaining user sessions. Participants learn to build login and registration components in React, connect them to a Node.js backend, and handle user authentication state. It also covers best practices for securely storing sensitive information in MongoDB and deploying authenticated applications. By the end of the course, students are capable of creating secure MERN stack applications with robust user authentication systems.

  • 1 Sections
  • 17 Lessons
  • 0 Quizzes
  • 0m Duration
Expand All

MERN Stack Authentication

17 Lessons 0 Quizzes
  • Introduction & Starter Project
  • User Routes, Controller & Model
  • Signing up & Hashing Passwords
  • Email & Password Validation
  • JSON Web Tokens (Theory)
  • Signing Tokens
  • Logging Users In
  • React Auth Context
  • Login & Signup Forms
  • Making a useSignup Hook
  • Making a useLogout Hook
  • Making a useLogin Hook
  • Getting the Initial Auth Status
  • Protecting API Routes
  • Making Authorized Requests
  • Protecting React Routes
  • Assigning Workouts to Users

0

0 Ratings
5 Star 0%
4 Star 0%
3 Star 0%
2 Star 0%
1 Star 0%

Reviews

Free

Start Course

Retake Course

Are you sure you want to retake the course? This action will permanently delete all your progress in this course.

Course Includes

  • Set up user authentication routes
  • Implement user controllers and models
  • Sign up users and password hashing
  • Validate emails and passwords
  • Understand JSON Web Tokens (JWT)
  • Generate and sign JWTs
  • Create login functionality
  • Implement React authentication context
  • Build login and signup forms in React
  • Develop custom authentication hooks in React
  • Create a user logout mechanism
  • Manage initial authentication status in React
  • Secure backend API routes
  • Conduct authorized API requests
  • Implement protected routes in React
  • Associate data with authenticated users

Deleting Course Review

Are you sure? You can't restore this back

Course Access

This course is password protected. To access it please enter your password below:

Buy for group

MERN Auth Tutorial
No groups Found

You don't have any groups yet

Create a group and add group members. Sync Group(s)