- 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
19 lines
810 B
Text
19 lines
810 B
Text
-- Storefront app manifest: the customer-facing ecommerce binary.
|
|
-- Routes serve to anonymous visitors + authenticated customers;
|
|
-- admin/ops users exist as DB rows but have no route in this binary.
|
|
--
|
|
-- The app binary connects to the shared `wo db` daemon (see
|
|
-- ../../wo.toml [database] + apps/storefront/wo.toml WO_DB env var).
|
|
-- Row-level policies on shared/types/*.wo scope what each session sees.
|
|
|
|
##app
|
|
name: "storefront"
|
|
version: 1
|
|
theme: "light"
|
|
i18n: [en]
|
|
|
|
routes:
|
|
/ -> ui.home -- apps/storefront/ui/home/
|
|
/product/:sku -> ui.product-detail { key: $sku } -- apps/storefront/ui/product-detail/
|
|
/cart -> ui.cart
|
|
/orders -> ui.orders -- apps/storefront/ui/orders/
|