2 Free / Identity, financial domain, and cloud persistence.
API
NestJS composes authentication, owner-scoped access, idempotency, portability, and field encryption on top of Prisma and PostgreSQL. It lives in the twofree-api repository; the web application reaches it in-cluster through its same-origin proxy.
01Input
The session establishes identity and owner scope.
02Process
Use cases validate contracts, idempotency, and financial rules.
03Outcome
Prisma persists to PostgreSQL with isolation and protected fields.

How I built it
NestJS organizes HTTP adapters around an application layer that does not depend on controllers. Better Auth resolves shared sessions, while queries keep ownership as a mandatory part of data access.