u
This commit is contained in:
@@ -58,10 +58,13 @@ future test cases.
|
||||
The Vite dev proxy (`/api` → Dashback) satisfies the same-origin cookie
|
||||
requirement without needing HTTPS on the frontend dev server.
|
||||
|
||||
## Architecture
|
||||
## Architecture & State Management
|
||||
|
||||
- `src/automats/*` — reactive state containers powered by `react-automat` (no React Context, hooks, or HOCs).
|
||||
- `automat-graph.svg` / `automat-graph.dot` — interactive visual topology of all 32 Automats across 12 domain clusters and 60 dataflow relationships.
|
||||
- `npm run automat-graph` — regenerates the Automat Graph SVG and DOT files using Graphviz Wasm.
|
||||
- `src/api/index.js` — all backend communication (`credentials: 'include'`).
|
||||
- `src/auth/googleSignIn.js` — Google Identity Services helper.
|
||||
- `src/auth/AuthProvider.jsx` — session state + login/logout.
|
||||
- `src/auth/useAuth.js` — auth context hook.
|
||||
- `src/components/*` — small function components with local state.
|
||||
- `src/components/*` — components reading synchronously from automats and subscribing via fine-grained selectors.
|
||||
|
||||
Reference in New Issue
Block a user