NestJS API skeleton with config, logging, and /healthz #2
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The API server (ADR 0006) needs its structural baseline before feature modules can be added in parallel.
Scope
Bootstrap NestJS in
apps/api: typed configuration module reading environment variables (validated with Zod frompackages/shared), pino JSON logging with request logging (method/route/status/duration), global exception filter with i18n-ready error shape{code, message},/api/v1/healthzreturning{status:'ok'}, and a Vitest + supertest e2e test setup.Acceptance criteria
pnpm --filter api start:devserves/api/v1/healthzTechnical notes
packages/sharedfor reuse by web/collab.Dependencies
Depends on #1.
Size: ~1 day
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.