Whetstone

Backend with NestJS

Start with the vocabulary — controller, provider, module, decorator, and the one TypeScript line that wires them — then the three things a Nest codebase asks you to reason about: the module graph and the injector that connects providers, the DTO contract that decides what a handler is even allowed to receive, and the request lifecycle — pipes, guards, interceptors and exception filters — that runs around every handler. Then the production layer: how routes are matched, versioned and answered, caching and rate limits shared through Redis, and services that talk over messages that can arrive twice.

  1. 1. Nest vocabulary: the words before the wiring

    Lesson · Intro · ~25 min
    • NestJS
    • HTTP
    • Routing
    • Modules
    • +4 moreAdditional skills: Controllers, Decorators, Dependency Injection, Providers
  2. 2. Modules, providers & the injector

    Lesson · Intro · ~25 min
    • Architecture
    • NestJS
    • Modules
    • Dependency Injection
    • +1 moreAdditional skills: Providers
  3. 3. DTOs & validation: the contract at the edge

    Full · Core · ~35 min
    • Architecture
    • NestJS
    • Validation
    • Pipes
    • +1 moreAdditional skills: DTOs & Contracts
  4. 4. The request lifecycle: guards, interceptors & filters

    Lesson · Advanced · ~30 min
    • Architecture
    • NestJS
    • Auth
    • Request Lifecycle
    • +3 moreAdditional skills: Guards, Interceptors, Exception Filters
  5. 5. Controllers & routing: order, status codes, @Res() and versions

    Lesson · Core · ~30 min
    • NestJS
    • HTTP
    • Routing
    • Controllers
    • +1 moreAdditional skills: API Versioning
  6. 6. Caching & rate limits with Redis

    Full · Advanced · ~45 min
    • NestJS
    • Caching
    • Redis
    • Rate Limiting
  7. 7. Microservices & messaging: patterns, delivery, idempotent handlers

    Full · Advanced · ~45 min
    • NestJS
    • Messaging & Events
    • Microservices
    • Idempotency & Retries