← All projects

Church management platform

A church management platform for a diocese and its parishes, where each parish's data is kept separate by the database itself.

Working
  • Next.js
  • React
  • TypeScript
  • Prisma
  • PostgreSQL row-level security
  • Supabase
  • Vitest
  • Playwright
Diagram: every request switches to a restricted database role, and PostgreSQL row-level security shows only the user's own parish's rows
Tenant isolation is enforced in PostgreSQL, not only in application code.

What it does

One system for a diocese and all of its parishes. It covers members and families, sacramental records, programs and attendance, events and facility booking, messaging, reports and a self-service portal for members.

It also includes a full parish finance module: chart of accounts, budgets, vendor bills, pledges, offering batches, reconciliation, and two-person approval for money going out. Changes are recorded in an append-only audit log.

How it's built

  • Tenant isolation in the database. Each parish's data is protected by PostgreSQL row-level security. On every request the app switches to a restricted database role carrying the user's identity, so the database is a second line of defence: a bug in application code can't accidentally expose another parish's records.
  • Sharing between parishes is explicit: grants, requests, and a logged emergency-access path.
  • Schema changes and security policies are migrated on separate tracks, and every pull request gets its own preview database.
  • Built with Next.js, Prisma and Supabase, with unit and end-to-end tests (Vitest and Playwright) across more than 80 pull requests.