Skip to content
JS

API Design in Node.js, v5

Course on Master.dev by Scott Moss

View on Master.dev (opens in a new tab)
9 h 59 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
62
Lessons
Sept 2025
Published29 Sept 2025

About this course

Description from Master.dev

Build scalable APIs for any application with Node.js and Express. Learn RESTful API design best practices as you design routes, run Postgres migrations, and secure your API with JWT-based authentication. Bullet-proof your API with TypeScript, runtime schema validation with Zod, and comprehensive integration testing strategies. Create a production deployment and ship your next API today!

What it covers

62 lessons
  1. 01

    Introduction

    1. Introduction
    2. API Project Tour
    3. Node.js & Servers Overview
  2. 02

    Getting Started with Express

    1. Create an Express Application
    2. Testing APIs with Postman
    3. Environment Variables Overview
    4. Dev & Production Variables
    5. Type-Safe Environment Variables
    6. Advanced Environment Techniques
  3. 03

    Creating Express Routes

    1. HTTP Verbs & RESTful Route Patterns
    2. Requests and Responses
    3. Subrouters
    4. User Routes
    5. Mounting Routes with use Middleware
    6. Advanced Routing Strategies
  4. 04

    Middleware

    1. Express Middleware
    2. Network, Frontend, & Backend Middleware
    3. Understanding the next() Argument
    4. Global Middleware
    5. Validation Middleware
    6. Parameter & Query Validators
    7. Async Middleware & Pitfalls
  5. 05

    Postgres Databases Setup

    1. Database Schemas
    2. PostgreSQL & ORMs
    3. Database Migrations
    4. Create Tables with Drizzle ORM
    5. Establish Table Relationships
    6. Exporting Database Types & Schemas
    7. Schema Best Practices
    8. Hosted PostgreSQL with Neon
    9. Database NPM Scripts
    10. Seed the Database
    11. Database Q&A
  6. 06

    Authentication & Authorization

    1. Authentication Strategies
    2. User Registration Workflow
    3. Registration Controller
    4. Create a JWT
    5. Validate & Test Authentication
    6. User Sign-In Workflow
    7. Sign-In Controller
    8. JWT Verification Utility
    9. Authentication Middleware
    10. Protected Routes
    11. Security Best Practices
  7. 07

    CRUD Routes

    1. RESTful Route Design Review
    2. Create Habit Controller
    3. Get All Habits Controller
    4. Update Habit Controller
    5. Testing the CRUD Routes
  8. 08

    Error Handling & Testing

    1. Error Handling in Express
    2. Error Handler Middleware
    3. Testing with Vitest
    4. Global Test Setup
    5. Testing Helper Functions
    6. Verify Test Setup
    7. Integration Testing Overview
    8. Auth Registration Test
    9. Auth Login Test
Show 2 more sections
  1. 09

    Production Deployment & CI/CD

    1. Setup Production Database
    2. Production Environment Variables
    3. Deploying to Render
  2. 10

    Wrapping Up

    1. Wrapping Up

Similar Node.js courses

  1. Intermediate10 hSubscription
    Educative35Sept 2025
  2. API Design in Node.js (using Express & Mongo)

    Master.dev · Scott Moss · 73 lessons · Dec 2015

    10 h 53 minSubscription
    Master.dev73Dec 2015
  3. Beginning Node.js, Express & MongoDB Development

    Educative · Educative · 34 lessons · Mar 2025

    Intermediate9 hSubscription
    Educative34Mar 2025
  4. Building a Back-End Application with NestJS

    Educative · Boussari Latif · 60 lessons · Sept 2026

    Beginner11 hSubscription
    Educative60Sept 2026
  5. 6 h 36 minSubscription
    Master.dev51Feb 2018
  6. Zero to Production Node.js on Amazon Web Services

    Master.dev · Kevin Whinnery · 58 lessons · Dec 2016

    6 h 31 minSubscription
    Master.dev58Dec 2016
  7. Intermediate6 h
    CourseraJun 2023
  8. Learn Express

    Codecademy · 6 lessons · Apr 2018

    Intermediate5 h
    Codecademy6Apr 2018

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare