Apply Logiboard architecture, layering, and coding rules when creating or changing code.
ui and backend as separate applicationsdomainapplicationinfrastructuredomain must not depend on framework code or other layersapplication contains use cases and orchestration logicapplication by use case folders when it improves clarityapplication may depend on domain and abstract ports, but not directly on infrastructureinfrastructure contains framework-specific and technical implementationsdomain must not depend on application or infrastructureapplication may depend on domaininfrastructure may depend on application and domainui must only depend on backend API contracts, never on backend internalsOwns:
Must not contain:
Owns:
Must not contain:
Owns:
Must not contain:
Preferred structure:
ui/src/componentsui/src/servicesOther folders may be used when helpful:
ui/src/pagesui/src/hooksui/src/featuresui/src/typesPreferred structure:
backend/src/applicationbackend/src/domainbackend/src/infrastructureUse subpackages by concept or use case when helpful, for example:
backend/src/application/findshipmentsbackend/src/application/createalertCreateAlertFindShipmentsResolveAlertHandleAlertProcessThingDoShipmentany