Skip to content

TomDoesTech/auth-api-tutorial

Repository files navigation

Authentication REST API with Node.js, TypeScript, Typegoose & Zod

Features

  1. Register a user
  2. Verify user's email address
  3. Send forgot password email
  4. Reset password
  5. Get current user
  6. Login
  7. Access token
  8. Refresh tokens

What technology are we using?

What will you need to follow along?

Video structure

  1. Demo
  2. Code walk-through
  3. Bootstrap application
  4. User API
    1. Create user
    2. Verify user
    3. Request reset password code
    4. Reset password
    5. Get current user
  5. Authentication API
    1. Create user session
    2. Get new access token with refresh tokens