ADR 0002: NestJS for Apps
Migrated reference document from the original Anvio repository.
1 min read
This is a migrated reference document from the original Anvio source repo. Content is preserved as-is; canonical documentation lives in the sections above in the sidebar.
Original path: docs/adr/0002-nestjs.md
Decision
NestJS only in apps/ as composition root.
Rationale
DI, modules, mature ecosystem. Domain logic stays in packages/.
Last updated on
ADR 0001: Technology Stack
Status was not recorded; treated as **Accepted**. TypeScript, pnpm, Turborepo, NestJS (`apps/api`) and Next.js (`apps/web`) are in use. PostgreSQL, Redis and NATS are optional Level 3+ components, as
ADR 0003: PostgreSQL + Drizzle
Status was not recorded; treated as **Accepted**. Drizzle/PostgreSQL lives in `packages/db`. Since [ADR-0007](0007-local-first-architecture.md) it is an optional Level 3+ component, not a requirement.