TOIT Training

MERN Auth Tutorial

Overview
Curriculum

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.

Curriculum

  • 1 Section
  • 17 Lessons
  • 3h Duration
Expand All
MERN Stack Authentication
17 Lessons
  1. Introduction & Starter Project
  2. User Routes, Controller & Model
  3. Signing up & Hashing Passwords
  4. Email & Password Validation
  5. JSON Web Tokens (Theory)
  6. Signing Tokens
  7. Logging Users In
  8. React Auth Context
  9. Login & Signup Forms
  10. Making a useSignup Hook
  11. Making a useLogout Hook
  12. Making a useLogin Hook
  13. Getting the Initial Auth Status
  14. Protecting API Routes
  15. Making Authorized Requests
  16. Protecting React Routes
  17. Assigning Workouts to 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)