Skip to Content
DevelopersOverview

Developer overview

PennyPlan v2 is built as three separate repositories. Each is built, deployed and owned on its own, and none imports code from another.

RepositoryWhat it isStack
pennyplan-webThe installable web app (PWA)Next.js, React, TypeScript
pennyplan-apiThe API, queue workers and database schemaNestJS, Prisma 7, PostgreSQL
pennyplan-docsThis documentationNextra (Next.js)

Start with Getting started, then read Architecture.

Ground rules that apply everywhere

  1. Non-custodial. PennyPlan never holds, moves, collects or lends money. A task that implies otherwise is stopped and raised, not built.
  2. Money is integer kobo. Never a float.
  3. The API contract is the boundary. The web app talks to the API over versioned HTTP (/v1) and generates its client from the API’s OpenAPI spec.
  4. Slow or costly work runs in queues, never inside a request.
  5. One repository at a time. If a change needs both the API and the web app, the API ships first.
Last updated on