Section 4 of 17

Vocabulary

Contents
Term Meaning
Workspace One Nx repository with all applications and libraries.
Application A deployable front-end in apps/. Contains almost no code.
Library A folder in libs/ with its own project.json, tags and a public index.ts. Imported only through its path alias, e.g. @fleetline/maintenance/data-access.
Domain A part of the business with its own language and data: maintenance, fleet, billing. Also called a bounded context. One folder in libs/.
Type The technical role of a library: feature, ui, data-access, model, util, api, shell.
Public API The index.ts of a library. Whatever it does not export does not exist for other libraries.
Facade A small class, hook or composable that a feature uses instead of the store: state as signals or refs, intentions as methods.
Boundary rule A lint rule that reads the tags of two libraries and fails an import that the tags do not allow.