Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 2.01 KB

DEMO.md

File metadata and controls

22 lines (16 loc) · 2.01 KB

A 60-second walkthrough

Use Node 22 or newer. From the repository folder, run npm install once, then npm run demo. Open http://127.0.0.1:4204. Leave the DEMO banner visible throughout the walkthrough. Everything is synthetic; SVG artwork is generated locally.

Time Show
0–10 seconds Sample Street Optical home. Open the collection of 24 frames.
10–20 seconds Filter a category and base price. Open Sonoran. Switch to Español; the same product remains open.
20–35 seconds Pick a lens type and colour. Watch the total and illustration change. Open the pickup reservation form.
35–45 seconds Fill in synthetic details using a mailbox under an example domain and a reserved fictional phone. Choose an open pickup date after the preparation period, a time window and consent. Submit.
45–55 seconds Show the saved reference and pickup summary in place on the product page. Open the two .eml files in demo-data/optical-shop/outbox/: shop summary and Spanish customer confirmation. Point out the reservation disclaimer and output stamp.
55–60 seconds Run node bin/catalog.mjs reservations --data demo-data/optical-shop to show the durable record and delivery status.

Stop the server with Ctrl+C. For the second catalog:

npm run demo -- --example plant-nursery

Show eight plants with pot-size price deltas, then stop it. On Windows PowerShell, use npm.cmd if your npm shim strips double-dash flags. The nursery has its own demo-data/plant-nursery/ folder. The example shops, people and street addresses are invented; Phoenix and Scottsdale are real cities used for context. Do not enter real customer details into a recording.

Demo always uses CAPTURE: it writes local email files and never contacts SMTP, including when SMTP credentials exist in the environment. It binds only 127.0.0.1:4204 and refuses other hosts/ports. A port conflict is an error, never a reason to select another port. No account, API key or email service is needed for this walkthrough.