- 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
32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
name = "ecommerce-workspace"
|
|
version = "0.1.0"
|
|
description = "Monorepo: shared types + logic powering two apps (storefront, admin) against one DB"
|
|
kind = "workspace" # not a single app — see [workspace] below
|
|
|
|
[runtime]
|
|
wo = ">= 0.1"
|
|
|
|
# Apps = one binary each; shared = libraries imported across apps by path.
|
|
# Mirrors Angular/Nx workspaces (apps/* + libs/*). See
|
|
# docs/plan/ui/00-overview.md § Target layout.
|
|
[workspace]
|
|
apps = [
|
|
"apps/storefront",
|
|
"apps/admin",
|
|
]
|
|
shared = [
|
|
"shared/types",
|
|
"shared/logic",
|
|
"shared/components",
|
|
]
|
|
|
|
# The shared DB daemon — one process, no UI, just the engine + wire protocol.
|
|
# Starts with `wo db serve` (see docs/plan/ui/06-shared-db-daemon.md when
|
|
# that sub-phase lands). Apps connect at runtime via WO_DB.
|
|
[database]
|
|
listen = "127.0.0.1:5555" # native wire-protocol port
|
|
data_dir = "./data"
|
|
isolation = "snapshot" # default for cross-paradigm checkout
|
|
|
|
[test]
|
|
parallel = false # cross-app integration tests hit the same DB
|