API overview
The primary backend is ethica-api: a NestJS application exposing HTTP APIs consumed by the ERP, portals, and onboarding UIs.
Stack (at a glance)
- Runtime: Node.js
- Framework: NestJS modules and controllers
- ORM: Sequelize
- Database: PostgreSQL (
DATABASE_URL)
Discovering routes
Use the NestJS module layout under ethica-api/src/ — controllers define routes; DTOs define request/response shapes. A generated OpenAPI spec may be added later; until then, treat the codebase as the source of truth.