Skip to content

Repository files navigation

portwell-core

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.

Running with Docker

docker compose up

core-api is published at http://localhost:8080, not exposed beyond localhost.

Sample data

Ten business accounts, matching course-shared/canon/data/accounts.yaml exactly (ACCOUNT-1001ACCOUNT-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.

About

Portwell's core banking mock: ledger (core-api) and customer-facing banking-app (adev-course infrastructure)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages