Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-09-20 09:08:45 +05:30
parent b3b1b527e1
commit 781ee753ec
9 changed files with 2502 additions and 1500 deletions
+10
View File
@@ -221,6 +221,16 @@ OpenAPI documentation is available at `/docs` once the server is running. The
root URL redirects to the local dashboard at `/dashboard`; enter the API token
there for the current browser session.
The dashboard includes a fleet overview, searchable machine collection, private
network and port-policy view, host diagnostics, and machine provisioning. Open a
machine to manage its lifecycle, edit or sync its port rules, copy its SSH command,
or read recent logs. Select machines in the collection for bulk operations.
Use `Ctrl+K` / `⌘K` (or `/`) to find a machine or page. Fleet data refreshes every
five seconds while the tab is visible; host checks refresh every thirty seconds
and can also be run manually. Charts show observed machine states and allocated
resources, rather than guest CPU or memory utilization. All frontend assets,
including the font, are served locally; no frontend build step is required.
The server exposes these routes:
| Method | Route | Purpose |