Skip to main content

Features

Per-feature implementation notes. Each doc follows the same section order so they're skimmable:

  1. Purpose — the problem it solves
  2. Contract — what clients / callers see (often a pointer to API.md)
  3. Implementation — how it's built, with pseudocode for tricky parts
  4. Required variables and services — env vars, injected dependencies
  5. Gotchas — edge cases and failure modes worth knowing
  6. Testing — how to verify it

Index

Cross-cutting plumbing

Auth and permissions

  • tokens.md — JWT + refresh, rotation, reuse detection
  • permissions.md — guards, decorators, role/permission model

Catalog and meta

  • catalog.mdGET /catalog assembly, caching, invalidation

Content

Tags

Suggested reading order for new features

Building a new entity? Skim response-envelope.md, pagination.md, slugs.md first — every CRUD endpoint uses them.

Touching auth? tokens.md + permissions.md in that order.

Touching content? content-submit.md and content-search.md are self-contained; content-approval.md pulls in events.md and thumbnails.md.