A standalone mock of Portwell's core banking ledger — accounts, balances, payments (with idempotency), scheduled payments and their run history, debit cards, and account restrictions — for the adev course tracks to consume as an external system dependency. It is the system of record for money: nothing else in the workspace writes a balance.
Built from course-shared/design/portwell-banking-prd.md, "Part one: core". That PRD also
describes a customer-facing application (banking-app); this repository implements only the
core ledger and its HTTP surface, matching the scope of its mock-* siblings.
Independent repo: no dependency on course-shared, the other mock-* repos, or any track repo.
Consuming applications pull it in as a service dependency; this repo never depends on them back.
docker compose upcore-api is published at http://localhost:8080, not exposed beyond localhost.
Ten business accounts, matching course-shared/canon/data/accounts.yaml exactly
(ACCOUNT-1001–ACCOUNT-1010), each with a balance proportional to its size, two or three
scheduled payments, three months of payment history, one or two cards (one frozen), and one
account under restriction. Generated, not hand-written — see app/seed.py.