writeonce/docs/examples/ecommerce/apps/admin/wo.toml
shoney.arickathil 9279175f26 scaffold sibling crates, multi-app ecommerce, REST + concurrency docs
- scaffold 14 placeholder crates (app, db, engine, gen, http, logic,
  policy, ql, service, sub, txn, ui, value, wal) — empty Cargo.toml +
  src/lib.rs to receive code phase-by-phase from `rt`
- restructure docs/examples/ecommerce into multi-app layout: apps/admin
  and apps/storefront, with shared/ types/logic/components, per-app
  app.wo + wo.toml, and reusable .htmlx components (layout, money,
  order-row)
- add reference/rest/{blog,ecommerce}.rest — VS Code/JetBrains HTTP
  request files driving the running prototype, including 501/404/405
  expectations for stubbed endpoints
- add docs/plan/09-concurrency-scaleout.md and docs/plan/ui/00-overview.md;
  refine docs/plan/assembly/02-writeonce-stance.md
- refresh templates (about, article, header/footer, home, layout, styles)
  and add static favicon/logo
- add infra/sync.sh and tighten .gitignore for reference/ symlinks
2026-05-04 13:39:58 +02:00

24 lines
631 B
TOML

name = "admin"
version = "0.1.0"
description = "Ops/fulfillment dashboard binary. Gated to role Admin | Ops."
app_kind = "app"
[runtime]
wo = ">= 0.1"
[dependencies]
shared = [
"../../shared/types",
"../../shared/logic",
"../../shared/components",
]
[server]
listen = ":8081" # admin runs on a separate port from storefront
[database]
# Same daemon as storefront, different API key → daemon's policy table gives
# this app Admin-level row visibility (per docs/plan/ui/07-per-app-policies.md
# when that phase lands).
url = "wo://127.0.0.1:5555"
api_key_env = "ADMIN_DB_KEY"