This document describes the local development and smoke-test setup that is currently used for capetownmarket-faas.
The current local runtime is centered on the portal web app plus the backend services it depends on:
apps/portal-web for the browser surfaceautomation-core on 50001capetown-faas-core on 50102database-abstraction-core on 50103documentation-core on 50101Because documentation-core is now TypeDoc-backed, local startup also assumes the repo-root Node dependencies are installed with npm install or npm ci before the docs service is started.
apps/portal-web is the browser entrypoint for the active workspace experience. The Vite config targets the local backend and database abstraction services and serves the portal on 5173.
The Vite /dbcore proxy is local-development only. It allows the browser workspace to exercise database-backed flows against database-abstraction-core on 50103, but that route is intentionally not published by production nginx.
The main local portal commands are:
npm --prefix apps/portal-web run devnpm --prefix apps/portal-web run buildnpm --prefix apps/portal-web run test:portal-webThe live browser entrypoints still boot from the slim workspace route files, and the active workspace lane is alpha3-only.
The repository currently uses a few explicit smoke entrypoints for the local stack:
scripts/alpha3-frontend-smoke.mjsscripts/alpha3-frontend-smoke.ps1scripts/cashier-frontend-smoke.mjsscripts/stats-frontend-smoke.mjsscripts/stats-stack-up.ps1scripts/demo-run.ps1The browser smoke defaults still point to http://127.0.0.1:5173, and the helper scripts use the current local service ports listed above.
The local stack is not just a single frontend preview. It is a small multi-service development topology:
517350001501015010250103That topology is also reflected in the local dev scripts and smoke harnesses, so local development should be treated as a coordinated system rather than isolated app servers.
For the docs service specifically, a healthy local process is not the full success condition. The useful checks are:
http://127.0.0.1:50101/readyhttp://127.0.0.1:50101/typedoc-statushttp://127.0.0.1:50101/The active workspace runtime is now alpha3-only, so local workspaces boot through the isolated alpha3 lane instead of the retired alpha0/alpha1/alpha2 model.
Portal cards are manifest-driven and use shared login/session behavior, so local smoke and manual testing should focus on:
This is the current local-dev baseline for the rebuilt docs:
Older runbooks and smoke matrices now belong in the external documentation archive.