Build a storefront backend
This track is a project, not a tour. Across six chapters you build the backend for a small e-commerce storefront — a products catalog, a cart, a durable checkout, and a shipping webhook — in one workspace that grows chapter by chapter. It is the same spine the NetScript playground runs, re-themed as a shop, so every pattern you learn here is one the framework's own example app uses in anger.
- 1 · Scaffold
- 2 · Catalog service
- 3 · Cart contracts
- 4 · Checkout saga
- 5 · Shipping webhook
- 6 · Deploy
What you will build
A working storefront backend called my-shop/: a typed products catalog service backed by
Postgres, a cart domain defined contract-first, a durable checkout saga that survives restarts
and compensates on failure, and an HMAC-verified shipping webhook that hands inbound provider events
to a background job. By the last chapter the whole thing runs on your machine under one orchestrator,
visible in a single dashboard.
The arc is deliberate. It teaches NetScript's central opinion — the oRPC contract is the single source of truth — and then shows what that buys you once the happy path needs to survive money changing hands: durable workflows and verified webhooks make checkout reliable instead of hopeful.
The shape of the app
Who this is for
You are comfortable with TypeScript and have used Deno at least a little. You do not need prior NetScript experience — chapter 1 starts from an empty folder — but if you have never run the framework locally, skim the Quickstart first; it covers the same scaffold at a gentler pace. This track moves faster and stays on the storefront domain the whole way.
You also do not need to read the whole framework before you start. Each chapter introduces exactly one new capability, grounds it in real running code, and proves it with a command whose output you can check.