Reference Example

Updated Dec 08, 2025

examples/reference_app wires together:

  • Router mounted at /ws
  • Schema-driven resources composed as parent/child/grandchild
  • Router-level DI via ServiceContainer
  • Connection manager usage from both resources and workers
  • Behavioural coverage via pytest-bdd

Use it as a blueprint for production deployments and adapt the patterns shown there to your own DI container, state store, and connection backend.