The problem
This is a learning project. I wanted to understand how a real multi-tenant SaaS fits together, from tenant isolation to a Kubernetes deploy. I built it with AI coding tools as my pair, and I reviewed and steered the design.
I kept the domain tiny: boards, columns and cards. A small domain means I spend my time on the architecture instead of on business rules. It is still in progress.
What I built
The backend is a modular monolith in .NET 10 with four layers: Domain, Application, Infrastructure and Api. ASP.NET Core Minimal APIs handle HTTP. EF Core talks to PostgreSQL 18. The React 19 front end uses TypeScript, Vite, Tailwind 4 and TanStack Query.
Accounts are invite-only. Sign-in returns a short-lived JWT plus a rotating refresh token, and four roles (Owner, Admin, Editor, Viewer) gate each action. SignalR pushes live board changes, with a Redis backplane so every API replica sees them. Hangfire runs the background jobs.
It also ships as containers and Helm charts, and a manually triggered GitHub Actions pipeline checks and builds it. A side quest serves the same boards over Telnet as a bulletin board.
The hard part
Tenant isolation. The tenant comes from the host name, either a subdomain or a verified custom domain. EF Core global query filters add the tenant to every query, and a save interceptor stamps it on new rows. A token from one tenant is rejected on another tenant's host. Integration tests run against real PostgreSQL through Testcontainers and check that one tenant cannot read, change or delete another's boards.
The second hard part was reliable events. A change and its outbox rows are saved in one transaction. A Hangfire job then relays them with FOR UPDATE SKIP LOCKED, so replicas do not double-process. Architecture tests fail the build if a layer depends on one it should not.
Result
Most of the roadmap is done: the Kanban core, auth, tenancy, roles, real-time, audit log, notifications, containers, Kubernetes, observability and CI. The k6 load test goes through Traefik, drives the autoscaler and times SignalR messages across replicas.
Still open: file attachments, card search, tenant branding, and an automated deploy to a cluster.
Stack
.NET 10, ASP.NET Core Minimal APIs, EF Core, PostgreSQL 18, Redis 8, SignalR, Hangfire, React 19, TypeScript, Docker, Kubernetes with Helm and Traefik, k6, GitHub Actions. Tests use xUnit, Testcontainers, NetArchTest and Playwright.