Skip to main content

Coding Conventions

Backend

  • Keep Domain entities free of framework dependencies.
  • Put request and response DTOs beside their handler.
  • Use [FromServices] handler injection in controllers.
  • Register services through existing application and infrastructure startup patterns.
  • Preserve the intentional Infraestructure spelling used by the codebase.

Frontend

  • Use standalone Angular components.
  • Use Reactive Forms for forms.
  • Keep state in root-provided services.
  • Use component-scoped SCSS.
  • Use canonical design tokens and keep legacy aliases compatibility-only.

Documentation

  • Write factual docs grounded in source code or confirmed product behavior.
  • Link related docs with relative links.
  • Run the Docusaurus build before publishing.