What it is responsible for
Sample manages application entry paths and example-facing interfaces, withAppControllergetHelloAppControllerrootcreatefindAllfindOne/graphql/apinpm run startWhat it refuses
Sample rejects input when validation reportsValidation failedisNaN(val)errors.length > 0UnauthorizedException!tokenuser?.password !== passNotFoundException!recipeGraphQLErrorcomplexity >= 20What it needs, and who needs it
Sample depends onsample/03-microservices/src/mathsample/04-grpc/src/heroAuthsample/26-queues/src/audiosample/27-scheduling/src/tasksOrdersNotable members
AppControllergetHellorootValidationPipeParseIntPipeRolesGuardUnauthorizedExceptionCatsControllercreatefindAllfindOnesampleWhat it is made of
Its 449 entities sit in 92 files undersampleschema.gqlWhere work enters
11 controllers publish 14 HTTP endpoints — 11GETPOST- —
AppController:4sample/08-webpack/src/app.controller.ts - —
getHello:8sample/08-webpack/src/app.controller.ts - —
AppController:3sample/15-mvc/src/app.controller.ts - —
root:5sample/15-mvc/src/app.controller.ts - —
AppController:3sample/17-mvc-fastify/src/app.controller.ts - —
root:5sample/17-mvc-fastify/src/app.controller.ts
Boundaries
It depends onMathHeroAuthAudioTasksOrdersHow this code is named
These conventions cover most of the codebase. Learning them is faster than reading an index — each one lets you find any member of its family without looking it up.
| Pattern | Where | Count | Examples |
|---|---|---|---|
| across the repository | 73 | |
| across the repository | 30 | |
| across the repository | 25 | |
| exported symbols | 17 | |
Was this page helpful?