Welcome to Grindstone Coffee Gear¶✎ edit
This is d2pro, the pro demo: a small online shop that sells coffee gear, built on d2. Everything here is made up and resets on every update, so try anything.
Look around¶✎ edit
- The shop's data: products, customers, carts, orders, stock, shipments and the outbox, class by class.
- The model graph: how the 22 classes link, from shop.
- How the flows work: what happens when a cart is made, an order placed, stock runs low…
- The fiddle: run each flow on the sample data and see its trace.
Try a flow¶✎ edit
Open shop-flows in the fiddle and run it: each flow runs once on the sample data, with its trace. In a project of your own, the triggers in Init start the same flows as the data changes: make a Cart, and a moment later the shop's outbox has "New cart from …". (A demo doesn't keep visitors' changes, so here the fiddle is the way to try them.)
The topics¶✎ edit
- shop: the model. shop-samples: the sample data.
- shop-carts, shop-orders, shop-stock, shop-shipping, shop-notify: the flows.
- shop-flows: every flow, run once on the samples.