Aulay demo repository (see demo/README.md in Aulay/core).
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aulay Demo c8030d6c8e Demo baseline
Generated from demo/repos/orders-api in Aulay/core.
2026-09-07 10:50:56 -03:00
src Demo baseline 2026-09-07 10:50:56 -03:00
test Demo baseline 2026-09-07 10:50:56 -03:00
.gitignore Demo baseline 2026-09-07 10:50:56 -03:00
CLAUDE.md Demo baseline 2026-09-07 10:50:56 -03:00
package.json Demo baseline 2026-09-07 10:50:56 -03:00
README.md Demo baseline 2026-09-07 10:50:56 -03:00

Orders API (demo)

A tiny Express service used in Aulay demo and tutorial recordings. In-memory store seeded with three orders on boot; no database.

pnpm install
pnpm dev        # http://localhost:4000
pnpm test       # vitest — one test fails on purpose (see below)

Routes: GET /health, GET /orders, GET /orders/:id, POST /orders ({ customer, items: [{ sku, qty, unitCents }] }).

totals include tax fails until withTotals in src/orders.js adds taxCents to totalCents. The "fix the failing test" tutorial asks an agent to make exactly that change.