- 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
26 lines
839 B
TOML
26 lines
839 B
TOML
name = "storefront"
|
|
version = "0.1.0"
|
|
description = "Customer-facing ecommerce binary. Connects to the shared wo-db daemon."
|
|
app_kind = "app" # not a library; produces a binary under target/wo/storefront
|
|
|
|
[runtime]
|
|
wo = ">= 0.1"
|
|
|
|
# The storefront depends on the shared type + logic sources one workspace
|
|
# level up. Paths are workspace-relative.
|
|
[dependencies]
|
|
shared = [
|
|
"../../shared/types",
|
|
"../../shared/logic",
|
|
"../../shared/components",
|
|
]
|
|
|
|
[server]
|
|
listen = ":8080" # what this app exposes to browsers
|
|
|
|
[database]
|
|
# Pointer to the shared DB daemon. At runtime, `WO_DB=wo://...` overrides.
|
|
url = "wo://127.0.0.1:5555"
|
|
# The app presents this API key on connect; the daemon's per-app policy
|
|
# table scopes what rows it can see.
|
|
api_key_env = "STOREFRONT_DB_KEY"
|