Baseleg Docs

Baseleg documentation

System docs, domain map, architecture decisions, standards, and UX system. Built from the repo's /docs directory and published separately from the product app.

Sections

  • Product — what Baseleg is, capabilities, v1 scope, and the roadmap
  • Domain — bounded contexts, ubiquitous language, DDD model
  • Architecture — layering, packages, database, testing, decisions
  • UX — design tokens, components, patterns, and diagrams

Recommended reading order

  1. Product overview — understand what Baseleg is and who it's for.
  2. Domain overview — understand the DDD approach and bounded contexts.
  3. Context map + Ubiquitous language — learn the domain model.
  4. Architecture overview — understand the modular monolith and layering.
  5. Package boundaries — especially "no direct page → DB shortcuts".
  6. Definition of done — understand what "complete" means.
  7. UX system — review design tokens, components, patterns, and diagrams.
  8. ADRs — understand the rationale behind key decisions.

Notes

  • Data owner expands db/schema/*, migrations, and infrastructure wiring over time.
  • If you change architecture boundaries or introduce major new tooling, add an ADR.
  • Domain terms in code must match the ubiquitous language.