manicanldes-backend/docs/architecture-visualization.md

1.8 KiB

Architecture visualization

The interactive backend architecture map shows the API entry point, access checks, major feature modules, and PostgreSQL persistence. Open the HTML file in a desktop browser. Click a component to inspect its source references; use the controls in the page to change the view.

This is a source-backed snapshot of commit 5a503c75207a0d2a1cbb1ee251f02eff118d7b5c, not a live service dashboard. It does not report request traffic, database contents, test results, or runtime health. Use Swagger UI to exercise running endpoints.

Tooling and regeneration

Archify is included as a Git submodule under tools/archify, pinned to commit d5a1333d7447c866a765adac7d4d062f2f02e4d2. Its upstream license is MIT. After cloning this branch, initialize it:

git submodule update --init --depth 1 tools/archify

The editable diagram specification is candidate.json. When architecture changes, update its components and source lines, set meta.repository.revision to the new commit being described, and regenerate from the backend root:

node tools/archify/archify/bin/archify.mjs finalize architecture .archify/architecture-mani-candles-20261003-1716/candidate.json .archify/architecture-mani-candles-20261003-1716/mani-candles-backend.html --repo-root . --quality showcase --json

finalize validates the specification, verifies source references, builds the standalone HTML, and checks the result in a browser. The generated HTML needs no server or external assets. Commit the specification and HTML together after the checks pass. Browser-check receipts are local verification outputs, not project source.