Small and mid-size livestock farms have no purpose-built software for herd records, expense tracking, and investor reporting — generic tools don’t fit the domain, and the original single-tenant app (FarmHub) needed a real multi-tenant rearchitecture to scale beyond one farm.
Shared-database multi-tenancy with PostgreSQL Row-Level Security as a defense-in-depth backstop over existing app-level farm_id filters — production runs as a least-privilege, non-superuser Postgres role so RLS is actually enforced, not just declared. Global account identity with a tenant-picker for multi-farm users, per-farm branding, platform-admin tooling, GDPR export/erasure, Google/Microsoft SSO, and a Recharts analytics dashboard.
Multi-tenant rearchitecture shipped to main — RLS-enforced tenant isolation live in production, SSO, per-farm currency, a redesigned dashboard, and a companion marketing site. Renamed to e-Maveshi and its own domain acquired as the product moved toward public launch.