# Package Map | Package | Responsibility | Forbidden Dependencies | |---------------|-----------------------------------------------------------|------------------------------------------------| | controller | Handles incoming requests, orchestrates service calls. | None (depends on services only) | | service | Contains business logic, interacts with the repository. | Controller (should not depend on controllers) | | repository | Responsible for data access, interacts with the database. | Service (never calls services directly) | | domain | Represents core business concepts, contains domain logic. | None (should be independent from others) | | integration | Manages external integrations like payment gateways. | Domain (should not directly access domain) |