Northwind Logistics · Engineering guides · Start here

The order journeyv1.0

Place an order

Send order #4711 to the checkout and watch it appear on the customer's tracking page.

Time 5 minutes
You need The lab from Install the lab, running

1Send the order#

Shell
curl -X POST localhost:8080/orders \
  -H 'content-type: application/json' \
  -d '{"id": 4711, "items": [{"sku": "LAMP-02", "qty": 1}], "promise": "thursday"}'

The checkout answers with the order and its first status:

text
{"id": 4711, "status": "placed", "promise": "Thursday"}

2Open the tracking page#

Open localhost:8085/orders/4711. The customer sees one green tile, Placed, and four grey ones. The promise under them reads Delivered by Thursday.

Note

The tracking page reads the same events the stations write. It never asks a station directly, so a slow station never makes the page slow.

Edit this page

Questions about this guide go to #order-journey on chat. The lab runs on your laptop and never touches production.