miniweb README.md
miniweb
A tiny demo service: app is the entry point, router dispatches, storage persists, models holds the shared records.
unversioned| repo | miniweb |
|---|---|
| commit | unversioned |
| ecosystems | python |
| modules | 4 |
| internal edges | 5 |
| cycles | 0 |
| entry points (no internal importer) | app |
README.mddocs/adr-001-storage.mddocs/architecture.mdgraph coverage: complete
rendered from the real module graph, 5 evidence-backed edge(s); never inferred
flowchart TD
n_app["app"]
n_models["models"]
n_router["router"]
n_storage["storage"]
n_app -->|high (import)| n_router
n_app -->|high (import)| n_storage
n_router -->|high (import)| n_models
n_router -->|high (import)| n_storage
n_storage -->|high (import)| n_models
classDef entrypoint fill:#4636e8,stroke:#0d1b1c,color:#e9e2d0;
classDef orchestrator fill:#0b0c0e,stroke:#0d1b1c,color:#e9e2d0;
classDef hub fill:#2f3238,stroke:#0d1b1c,color:#e9e2d0;
classDef library fill:#585c64,stroke:#0d1b1c,color:#e9e2d0;
classDef leaf fill:#585c64,stroke:#0d1b1c,color:#e9e2d0;
classDef isolated fill:#585c64,stroke:#0d1b1c,color:#e9e2d0;
classDef external fill:rgba(11,12,14,.14),stroke:#0d1b1c,color:#e9e2d0;
class n_app entrypoint;
class n_models leaf;
class n_router library;
class n_storage library;
app.py (python)
router app.py:1storage app.py:2none
models.py (python)
none
router router.py:1storage storage.py:1router.py (python)
models router.py:1storage router.py:2app app.py:1storage.py (python)
models storage.py:1app app.py:2router router.py:2class models::Record, defined at models.py:1
none
none
function storage::get, defined at storage.py:4
none
none
authored by humans; joined in verbatim and rendered offline, never rewritten
README.mdA tiny demo service: app is the entry point, router dispatches, storage persists, models holds the shared records.
docs/adr-001-storage.md| option | verdict |
|---|---|
| in-memory dict | chosen |
| external service | rejected |
docs/architecture.mdapp calls router; router and storage share models.
Rule: models imports nothing.