Course map
Every lesson goes concept → real use case → exercise. The core modules build Relay, a webhook-ingestion and job-processing service. The OS module builds tsbox, a small podman-style container CLI.
M1 · FoundationsRelay's typed config loader.
M2 · Modeling the domainWebhook payloads and the job state machine.
M3 · Generics & compositionRetry, timeout, a typed pipe: the generic machinery.
M4 · Type-level programmingRoute params and env schemas computed from strings.
M5 · Architecture with typesDependency injection, typed errors, resources.
M6 · Functional programmingFunctional core, imperative shell. Capstone: effects as values.
Inside the checkerHow the compiler decides, where it lies, and type-level parsing. Capstone: a typed SQL builder.
Extras
Section titled “Extras”T · Testingbun test, type tests, property tests.
D · Declarations & packagingRead, write and publish .d.ts files.
C · Concurrency & streamsFan-out, backpressure, cancellation.
N · NetworkingA typed HTTP API, client, SSE and WebSockets.
OS · tsboxA daemonless, rootless container CLI.