# System map — nestjs/nest

> Canonical page: https://codevetter.com/unpack/nest/system-map

# System map — nestjs/nest

Scanned commit 35142c3eca8edaaf6abc5984d915da2fbd458aa2 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

The repository is a framework monorepo with independently published packages and application examples. Core owns module discovery, dependency construction, application lifecycle, and route execution. Platform packages provide native HTTP implementations, while optional packages supply messaging and sockets. npm scripts and CircleCI describe compilation and verification, with package publication handled through Lerna.
- The root defines npm workspaces over packages/*, while common and core publish ESM index.js entrypoints and internal subpath exports. — [package.json#L15-18](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/package.json#L15-L18) [packages/common/package.json#L20-27](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/common/package.json#L20-L27) [packages/core/package.json#L7-14](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/package.json#L7-L14)
- NestFactoryStatic exposes create, createMicroservice, and createApplicationContext for HTTP, transport, and standalone dependency-container runtimes. — [packages/core/nest-factory.ts#L89-124](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/nest-factory.ts#L89-L124) [packages/core/nest-factory.ts#L135-165](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/nest-factory.ts#L135-L165) [packages/core/nest-factory.ts#L177-205](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/nest-factory.ts#L177-L205)
- HTTP creation defaults to dynamically loading ExpressAdapter; callers can supply an AbstractHttpAdapter. — [packages/core/nest-factory.ts#L89-100](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/nest-factory.ts#L89-L100) [packages/core/nest-factory.ts#L330-338](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/nest-factory.ts#L330-L338)
- DependenciesScanner discovers module imports and binds global scope; InstanceLoader constructs providers, injectables, and controllers. — [packages/core/scanner.ts#L84-102](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/scanner.ts#L84-L102) [packages/core/scanner.ts#L130-171](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/scanner.ts#L130-L171) [packages/core/injector/instance-loader.ts#L40-59](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/injector/instance-loader.ts#L40-L59)
- ServerFactory dispatches Redis, NATS, MQTT, gRPC, Kafka, and RabbitMQ transports, falling back to TCP. — [packages/microservices/server/server-factory.ts#L20-41](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/microservices/server/server-factory.ts#L20-L41)
- The inspected persistence example delegates MySQL configuration and repository registration to @nestjs/typeorm rather than storing records in NestContainer. — [sample/05-sql-typeorm/src/app.module.ts#L5-18](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/sample/05-sql-typeorm/src/app.module.ts#L5-L18) [sample/05-sql-typeorm/src/users/users.module.ts#L7-12](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/sample/05-sql-typeorm/src/users/users.module.ts#L7-L12) [sample/05-sql-typeorm/src/users/users.service.ts#L9-19](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/sample/05-sql-typeorm/src/users/users.service.ts#L9-L19)
- Root scripts compile TypeScript project references, relocate built packages, run Vitest, lint with oxlint, and publish through Lerna. — [package.json#L20-46](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/package.json#L20-L46)
- Node.js >=20 is required; TypeScript targets ES2023 with Node16 module resolution and emitted legacy decorator metadata. — [packages/core/package.json#L20-22](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/packages/core/package.json#L20-L22) [tsconfig.json#L2-18](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/tsconfig.json#L2-L18)
- CircleCI defines build, unit-test matrix, lint, Docker-backed integration, and sample-build jobs. — [.circleci/config.yml#L153-176](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/.circleci/config.yml#L153-L176) [.circleci/config.yml#L102-133](https://github.com/nestjs/nest/blob/35142c3eca8edaaf6abc5984d915da2fbd458aa2/.circleci/config.yml#L102-L133)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
