Overview
Unit tests mock repositories, so migrations, constraints, and cascade behaviour go unverified. With the schema being rebuilt from scratch, migration correctness matters more than usual.
Tasks
Acceptance Criteria
Dependencies
Blocked by [BE-74], [BE-80], [BE-86], [BE-92].
Notes for Contributors
The backend is being rebuilt from a clean NestJS skeleton — backend/src/ currently contains only app.module.ts, app.controller.ts, app.service.ts, and main.ts. Follow standard NestJS module structure (module / controller / service / dto / entities) and register your module in app.module.ts. Comment below to be assigned.
Overview
Unit tests mock repositories, so migrations, constraints, and cascade behaviour go unverified. With the schema being rebuilt from scratch, migration correctness matters more than usual.
Tasks
@testcontainers/postgresqland boot a throwaway Postgres per E2E run.Acceptance Criteria
npm run test:e2epasses locally with only Docker required.Dependencies
Blocked by [BE-74], [BE-80], [BE-86], [BE-92].
Notes for Contributors
The backend is being rebuilt from a clean NestJS skeleton —
backend/src/currently contains onlyapp.module.ts,app.controller.ts,app.service.ts, andmain.ts. Follow standard NestJS module structure (module/controller/service/dto/entities) and register your module inapp.module.ts. Comment below to be assigned.