2020

  1. Typescript Unions and Discriminating Unions

    How to model application state with TypeScript union types, and why a literal discriminant field makes narrowing them safe.

  2. Dockerizing NestJS application and Debugging

    A step-by-step guide to dockerizing a NestJS app with docker-compose and attaching the VS Code debugger to the running container.