371 B
371 B
crm-core Architecture
crm-core follows a layered architecture:
- API: HTTP handlers, routing, and middleware.
- Application: use cases and orchestration.
- Domain: core CRM entities and rules.
- Infrastructure: PostgreSQL repositories, JWT validation, logging.
The service is multi-tenant by design and enforces tenant_id on all database access.