New here? See how enrollment works →
Node.js & Backend DevelopmentIntermediateMentor-supported online program

Node Authentication

Add sign-up, login, sessions and JWT auth to a Node API, with a mentor reviewing your security choices.

6 weeks duration~24 learning hours6-month course access5 modules

What you'll learn

  • Hash and verify passwords with bcrypt
  • Implement cookie sessions and JWT access tokens
  • Protect routes with middleware and roles
  • Build email-based password reset
  • Explain the tradeoffs between sessions and tokens

About this course

You implement authentication twice, first with sessions and then with JWTs, so you can compare them. You hash passwords, protect routes and handle password resets. Your mentor reviews each milestone with a focus on security mistakes.

Course curriculum

5 modules and 15 lessons over 6 weeks. Plan for about 24 learning hours.

01PasswordsWeek 1 · 3 lessons
  1. Hashing with bcrypt
  2. Sign-up and login routes
  3. Rate limiting login
02SessionsWeek 2 · 3 lessons
  1. Cookie sessions
  2. Session stores
  3. CSRF protection
03TokensWeek 3 · 3 lessons
  1. JWT structure
  2. Access and refresh tokens
  3. Token storage on the client
04AuthorizationWeek 4 · 3 lessons
  1. Protected routes
  2. Roles and permissions
  3. Testing auth flows
05Auth projectWeeks 5–6 · 3 lessons
  1. Password reset by email
  2. Mentor security review
  3. Final fixes

Project

Authenticated API. An Express API with sign-up, login, roles and password reset, reviewed by your mentor for security issues.

Who this course is for

Node developers who need to add user accounts to an app.

Prerequisites

You can build an Express API with routes and middleware.

What's included

  • 6-month course access
  • Project repository
  • Coding labs
  • Two mentor reviews
  • Office-hours access
  • Implementation checklists
  • A digital completion certificate

Learning format

Mentor-supported online program, part of our mentor-supported programs. Two mentor reviews and office hours.

Access and delivery

  1. Enrollment confirmation is provided within 1 business day.
  2. Mentor reviews are returned within 2 business days of submission.
  3. Office-hours access begins during the first program week, and final completion materials are issued within 2 business days.

Certificate

You receive a digital completion certificate. Office-hours access begins during the first program week, and final completion materials are issued within 2 business days.

Frequently asked questions

When does access start?

Enrollment confirmation is provided within 1 business day.

Is payment taken on this website?

No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.

Does this course guarantee a job or income?

No. It is an education and training service and does not include employment, income or placement guarantees.

Can I cancel?

Our Refund and Cancellation Policy lists the terms for mentor-supported programs.

Related courses in Node.js

$699