← All courses

Course / 10 modules

Design Patterns in Plain Words

A ten-module course on design patterns in TypeScript and Node.js: what problem each pattern solves, the form TypeScript developers write, and when to leave it out.

After this course, you can

  • Name the problem that makes a change to a Node.js backend hard
  • Pick the pattern that fixes it, or decide that a plain function is enough
  • Write Factory, Adapter, Strategy, Observer, Repository and the other common patterns in TypeScript
  • Spot a pattern that is used where it does not help

The course is free.

Who it is for

Developers who have built a REST API with Node.js, Express and a database, and know names such as Factory and Singleton but not when to use them.

  • You know async/await and npm
  • You know basic TypeScript: types, interfaces and classes

How it works

  • Ten modules, each opening on a problem in TinyTickets, an invented ticket site, then fixing it with a pattern
  • Modules 1 to 9 end with a lab, review questions and a cheat sheet; module 10 is a capstone with three challenges
  • Every example is a TypeScript file you run with one command on Node.js 26
  • No accounts or keys needed: the payment, email and SMS clients are fakes

Outline

10 modules, read in order