Skip to Content
TutorialsOverview

Tutorials

Three numbered recipes for the changes a contributor makes most often. Each follows the repository’s own conventions (CLAUDE.md: route patterns, validation, decorators) and ends with the entry the change adds to this site: the pages below are registers, and a change that is not in its register is a change the next reader cannot find.

RecipeYou changeIt ends with
Adding an endpointA route, a Joi schema, a service method, testsA row in the module catalogue, a row in the endpoint access register, a row in the domain’s operation table
Adding an event selectorA selector class and a second handler on a routeA row in the engagement register
Adding an instanceA settings preset and an env fileThe onboarding checklist completed

Before you start, have the backend running as in Setup and have sent the requests on First requests. The vocabulary is in the Glossary; the request path your code joins is in Request lifecycle.

Two rules apply to every recipe:

  • TypeScript compile errors only while you work. Lint and format run on save and commit.
  • Tests go with the code. Mocha and assert, in test/ at the same path depth as the file under test; run one file with npx cross-env DB_PORT=5555 NODE_ENV=testing DOT_ENV_CONFIG=test.env npx mocha --grep "pattern".
Last updated on