Skip to main content

Template Harness

Template Harness is a Turborepo workspace for building and documenting the project's applications and shared packages.

Documentation is organized by what it describes:

  • API — feature-slice purpose and business behavior;
  • Web — user-facing feature-slice behavior and journeys;
  • Guides — commands and task flows for development tools;
  • System — infrastructure modules, lifecycles, and boundaries.

Workspaces​

  • apps/api contains the Fastify API.
  • apps/web is reserved for the Nuxt web application.
  • apps/docs contains this documentation site.
  • packages/contracts is reserved for types shared across application boundaries.

Development​

From the repository root, install dependencies and start all development workspaces:

npm install
npm run dev

To run only the documentation site:

npm run dev --workspace apps/docs

Create feature pages under api/ or web/, development procedures under guides/, and infrastructure explanations under system/. The sidebar is generated from this hierarchy automatically.