Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 5.14 KB

File metadata and controls

40 lines (30 loc) · 5.14 KB

Admin

This module is reference material, not scaffolding. Add new modules with ../../../scripts/New-Module.ps1 and ../../../templates/module/module-spec.example.json.

Purpose

Admin is the advanced reference module in this baseline. Use it when you need to study cross-module event consumption, replay-safe projections, machine endpoints, background recovery, public read models, bounded shared reads, and shared browser realtime.

Admin is the only teaching module allowed to depend backward into other teaching modules. It consumes SampleFeature.PublicContracts (events) and KnowledgeBase.PublicContracts (events plus a bounded shared-read example). The simpler teaching modules (SampleFeature, Blog, KnowledgeBase) intentionally know nothing about Admin. This keeps the teaching graph directional: removing a simpler module only requires deleting the matching consumer files inside Admin, never edits in the other simpler modules.

What It Teaches

Start Here

Use This Module When

  • you need a reference for projecting another module's integration events into your own read model
  • you need replay safety, persisted process-manager state, and background recovery in the same module
  • you need a module that exposes both browser-facing operations and machine-consumable endpoints
  • you want to study how recovery workers coordinate with module state transitions (pausing while disabled, resuming after re-enable)
  • you want to verify that consumer replay survives module disable/re-enable cycles without producing duplicates