Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 667 Bytes

File metadata and controls

19 lines (15 loc) · 667 Bytes

Architecture Rules (V1 · Monorepo)

layers (packages)

  • io.homedir.api… | … Web… → IU/Rest
  • io.homedir.app… | … Service… → application/orchestration
  • io.homedir.domain… → Domain (entities/value/rules)
  • io.homedir.infra… → Persistence / External clients

Blockers

  1. Without cycles between packages.
  2. Without critical cape jumps: API → Infra and Domain → Infra prohibited.
  3. Without mutable global state (public static non-final).

Informative rules (do not block)

  • API I shouldn't use JPa/Plant directly.
  • Domain I shouldn't use web APIS.

Exceptions

  • Only with justification and ticket; temporal.