marcoturi/fastify-boilerplate
56.1
Adequate · 9 November 2026
2.4k
lines of production code
TypeScript
with JavaScript
7
measurements over time
What this system is
Behavioural changes
1 commit (0 fixes) modifying .claude
A change to existing behaviour in .claude — 1 commit, 1 file: “docs(agents): split AGENTS.md into path-scoped rules under .agents/rules”.
.claude · low confidence · unverified
10 commits (2 fixes) modifying src/modules/settings
A change to existing behaviour in src/modules/settings — 10 commits (2 fixs), 1 file: “fix(logging): avoid logging PII and lower action timing to debug”; “feat: use native ts, clean up project”; “refactor(user): own domain events in the domain, publish via commit()”; and 7 more (refs \#869).
src/modules/settings · medium confidence · unverified
10 commits (3 fixes) modifying src/shared/ddd
A change to existing behaviour in src/shared/ddd — 10 commits (3 fixs), 3 files: “feat: use native ts, clean up project”; “refactor(db): order pages by createdAt in the query”; “refactor: fix bugs and improve code \#2”; and 7 more (refs \#2).
src/shared/ddd · medium confidence · unverified
12 commits (1 fix) modifying src/modules/user
A change to existing behaviour in src/modules/user — 12 commits (1 fix), 4 files: “test: cover env parsing, tracing, the user mapper and more REST cases”; “fix: linting”; “feat: use native ts, clean up project”; and 9 more (refs \#869).
src/modules/user · medium confidence · unverified
12 commits (1 fix) modifying src/shared/exceptions
A change to existing behaviour in src/shared/exceptions — 12 commits (1 fix), 3 files: “feat: use native ts, clean up project”; “refactor: remove dead code and stale config entries”; “refactor!: give exceptions a transport-neutral code mapped by each transport”; and 9 more (refs \#869).
src/shared/exceptions · medium confidence · unverified
13 commits (4 fixes) modifying src/shared/api
A change to existing behaviour in src/shared/api — 13 commits (4 fixs), 5 files: “fix: linting”; “docs(api): subErrors also come from an ArgumentInvalidException”; “feat: use native ts, clean up project”; and 10 more (refs \#2, \#869).
src/shared/api · medium confidence · unverified
16 commits (3 fixes) modifying src/modules/user/domain
A change to existing behaviour in src/modules/user/domain — 16 commits (3 fixs), 5 files: “fix: linting”; “feat: use native ts, clean up project”; “feat(test): use node:test instead of vitest”; and 13 more (refs \#2, \#869).
src/modules/user/domain · medium confidence · unverified
16 commits (4 fixes) modifying src/modules
A change to existing behaviour in src/modules — 16 commits (4 fixs), 1 file: “fix: linting”; “feat: use native ts, clean up project”; “feat(db): let repositories join transactions opened with withTransaction”; and 13 more (refs \#869).
src/modules · medium confidence · unverified
16 commits (6 fixes) modifying src/config
A change to existing behaviour in src/config — 16 commits (6 fixs), 3 files: “feat(db): make DB TLS and connection pool configurable via env”; “test: cover env parsing, tracing, the user mapper and more REST cases”; “feat: use native ts, clean up project”; and 13 more (refs \#869).
src/config · medium confidence · unverified
17 commits (5 fixes) modifying src/server/di
A change to existing behaviour in src/server/di — 17 commits (5 fixs), 3 files: “fix: linting”; “refactor: keep helper functions inside their factory”; “feat: use native ts, clean up project”; and 14 more (refs \#869).
src/server/di · medium confidence · unverified
17 commits (7 fixes) modifying src/modules/user/database
A change to existing behaviour in src/modules/user/database — 17 commits (7 fixs), 2 files: “fix: linting”; “feat: use native ts, clean up project”; “feat(db): let repositories join transactions opened with withTransaction”; and 14 more (refs \#2, \#869).
src/modules/user/database · medium confidence · unverified
18 commits (6 fixes) modifying src/shared/utils
A change to existing behaviour in src/shared/utils — 18 commits (6 fixs), 6 files: “docs: fix wrong and outdated statements”; “feat: use native ts, clean up project”; “fix(validator): keep list arguments as lists”; and 15 more (refs \#2, \#869).
src/shared/utils · medium confidence · unverified
20 commits (8 fixes) modifying src
A change to existing behaviour in src — 20 commits (8 fixs), 3 files: “fix: linting”; “feat: use native ts, clean up project”; “feat(app): update to eslint 9”; and 17 more (refs \#2, \#869).
src · medium confidence · unverified
25 commits (3 fixes) modifying src/modules/user/commands/delete-user
A change to existing behaviour in src/modules/user/commands/delete-user — 25 commits (3 fixs), 4 files: “fix: linting”; “feat: use native ts, clean up project”; “refactor: name factories after the DI key they produce”; and 22 more (refs \#2, \#869).
src/modules/user/commands/delete-user · medium confidence · unverified
29 commits (11 fixes) modifying src/server/plugins
A change to existing behaviour in src/server/plugins — 29 commits (11 fixs), 7 files: “fix: linting”; “fix(errors): answer with the error envelope when a handler throws a non-Error”; “fix(server): keep the 5xx status of errors raised by Fastify plugins”; and 26 more (refs \#869).
src/server/plugins · medium confidence · unverified
34 commits (4 fixes) modifying src/modules/user/commands/create-user
A change to existing behaviour in src/modules/user/commands/create-user — 34 commits (4 fixs), 6 files: “fix: linting”; “feat: use native ts, clean up project”; “refactor(user): emit the created event from the handler, drop DomainResult”; and 31 more (refs \#869).
src/modules/user/commands/create-user · medium confidence · unverified
35 commits (15 fixes) modifying src/server
A change to existing behaviour in src/server — 35 commits (15 fixs), 7 files: “fix: linting”; “refactor(server): drop the Helmet global option”; “feat: use native ts, clean up project”; and 32 more (refs \#2, \#869, \#512).
src/server · medium confidence · unverified
35 commits (8 fixes) modifying src/modules/user/queries
A change to existing behaviour in src/modules/user/queries — 35 commits (8 fixs), 9 files: “test: cover env parsing, tracing, the user mapper and more REST cases”; “fix: linting”; “fix(user): let users be found with the values they are created with”; and 32 more (refs \#2, \#869).
src/modules/user/queries · medium confidence · unverified
40 commits (18 fixes) modifying src/shared/db
A change to existing behaviour in src/shared/db — 40 commits (18 fixs), 10 files: “feat(db): make DB TLS and connection pool configurable via env”; “fix: linting”; “docs(db): keep the connection and transaction behaviour in the postgres.ts JSDoc”; and 37 more (refs \#2, \#869).
src/shared/db · medium confidence · unverified
52 commits (10 fixes) modifying src/shared/cqrs
A change to existing behaviour in src/shared/cqrs — 52 commits (10 fixs), 14 files: “fix(logging): avoid logging PII and lower action timing to debug”; “refactor(cqrs): require the action creator prefix”; “test: cover env parsing, tracing, the user mapper and more REST cases”; and 49 more (refs \#2, \#869).
src/shared/cqrs · medium confidence · unverified
7 commits (2 fixes) modifying scripts
A change to existing behaviour in scripts — 7 commits (2 fixs), 2 files: “build(types): generate client types with .env and without telemetry”; “build(types): let the config read .env when generating the client types”; “build(types): give codegen the server URL that generate-types.sh starts”; and 4 more.
scripts · medium confidence · unverified
7 commits (3 fixes) modifying db
A change to existing behaviour in db — 7 commits (3 fixs), 3 files: “chore(db): seed a user whose email differs from the Swagger example”; “fix(db): keep seeds out of the migrations table and stop them writing schema.sql”; “perf(user): index columns filtered by findAllPaginatedFiltered”; and 4 more.
db · medium confidence · unverified
Migrate to Node 24, pnpm, and Biome with native TypeScript execution
The project now requires Node.js 24 and uses pnpm instead of Yarn, enabling native TypeScript execution without a build step. ESLint and Prettier have been replaced by Biome for linting and formatting, and Vitest has been removed in favor of Node's built-in test runner. Configuration files for the previous tooling (\.eslintrc.js\, \.prettierrc.json\, \vitest.config.js\, \cucumber.setup.js\) have been deleted, and the \tsconfig.json\ has been updated to support ESM and stricter type checking.
(repo-wide) · high confidence
Switch from npm/yarn to pnpm and replace lint-staged with Biome
The project's pre-commit and commit-msg hooks have been updated to use pnpm instead of npx/npm for running scripts, and lint-staged has been removed in favor of Biome for pre-commit checks. Users will now see faster hook execution times due to pnpm's efficiency and Biome's integrated linting/formatting, while the commit message validation remains handled by commitlint.
.husky · high confidence
Test coverage
13 commits adding/updating tests in tests/user/create-user; 14 commits adding/updating tests in tests/shared; 16 commits adding/updating tests in tests/user; 18 commits adding/updating tests in tests/support; 5 commits adding/updating tests in tests/user/delete-user; 9 commits adding/updating tests in tests/user/find-users.
Dependencies
Updated project dependencies
This release updates the project's dependency manifests, including upgrades to the package manager (yarn to pnpm), the Node.js type definitions (@types/node), and various development tools such as ESLint, TypeScript, and semantic-release.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 51 → 56 (+5.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 62 → 76 (+13.8)
- Architecture 97 → 97 (+0.0)
- Maturity 65 → 69 (+3.7)
- Readiness 70 → 80 (+10.1)
- Security 29 → 32 (+2.8)
- Domain Modelling 100 → 100 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (19)
- Deprecated: @opentelemetry/propagator-jaeger (pnpm-lock.yaml)
- Deprecated: @opentelemetry/sdk-trace-base (pnpm-lock.yaml)
- Deprecated: @opentelemetry/sdk-trace-node (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- Outdated (npm): @fastify/otel
- Outdated (npm): @fastify/request-context
- Outdated (npm): @graphql-tools/load-files
- Outdated (npm): @graphql-tools/merge
- Outdated (npm): @opentelemetry/api
- Outdated (npm): @opentelemetry/instrumentation
- Outdated (npm): @opentelemetry/instrumentation-http
- Outdated (npm): @opentelemetry/sdk-node
- Outdated (npm): env-schema
- Outdated (npm): graphql
- Outdated (npm): typebox
New (18)
- Dependency hygiene PARTLY measured — npm pinning read, dependency currency not (registry.npmjs.org unreachable)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Medium CVE: [GHSA redacted] (pnpm-lock.yaml)
- Medium CVE: [GHSA redacted] (pnpm-lock.yaml)
- Medium: security finding (details withheld)
- No assertions: drain() resolves at once when no handler is running (src/shared/cqrs/event-bus.spec.ts)
- No assertions: types the handler by its creator (checked by tsc) (src/shared/cqrs/request-bus.spec.ts)
- Repeated repair: src/config/env.ts (src/config/env.ts)
- Repeated repair: src/index.ts (src/index.ts)
- Repeated repair: src/shared/db/postgres.ts (src/shared/db/postgres.ts)
- redundant comment (src/server/index.ts)
- redundant comment (src/server/index.ts)
Changes since last survey
- 300 commits — 234 feature/other, 66 fixes
By area
- (root) — 106 commits
- src/shared — 57 commits
- src/server — 29 commits
- src/modules — 28 commits
- .agents/rules — 24 commits
- .github/workflows — 12 commits
- doc/CQRS.md — 9 commits
- src/config — 7 commits
- tests/user — 6 commits
- src/index.ts — 4 commits
- tests/support — 4 commits
- scripts/generate-types.sh — 3 commits
- tests/shared — 3 commits
- scripts/codegen.ts — 2 commits
- .husky/pre-commit — 1 commit
- db/migrations — 1 commit
- db/seeds — 1 commit
- src/declarations.d.ts — 1 commit
- src/declarations.ts — 1 commit
- src/instrumentation.ts — 1 commit
Notable commits
- fix: chore(husky): check staged files in pre-commit without writing fixes
- fix: fix(api): cap the page size at 100
- fix: fix(api): keep client error status codes and answer unknown routes with the error envelope
- fix: fix(client): generate GraphQL enums as union types
- fix: fix(config): read the version from package.json
- fix: fix(config): reject a POSTGRES_URL port out of range
- fix: fix(config): reject a malformed POSTGRES_URL and out-of-range numbers at startup
- fix: fix(cqrs): refuse a second handler for the same command or query
- fix: fix(cqrs): reject instead of throwing synchronously in execute()
- fix: fix(cqrs): run queued sequential events in the context they were emitted in
- fix: fix(cqrs): stamp event metadata once, when the event is emitted
- fix: fix(db): answer 400 to values the column cannot hold
- fix: fix(db): connect with separate fields so credentials need no escaping
- fix: fix(db): keep seeds out of the migrations table and stop them writing schema.sql
- fix: fix(db): let a custom repository method call another one through this
- fix: fix(db): log Postgres notices through the logger
- fix: fix(db): log SQL queries through pino without their parameter values
- fix: fix(db): make insert([]) a no-op
- fix: fix(db): map driver errors to domain exceptions in every repository method
- fix: fix(db): map the driver error withTransaction rejects with
- …and 280 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
marcoturi/fastify-boilerplate was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 2d02169f15726ada3db38221aed7ed4a5471d4b1 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-bb0cb800cd0f.