Web & Mobile Development | Data Consulting | Digital Marketing | AI Automation
A membership organisation is not a sales pipeline. It has units within units, members with roles that change by unit, events with attendance, donations that must be accountable, grievances that need a tracked response, and decisions that need a record. A generic CRM can be forced to approximate this with custom fields, and the approximation breaks the first time two units need different permissions.
Vahini is built from the organisation outward. A tenant is an organisation; inside it, a hierarchy of units carries members and their roles. Every query is scoped to the actor’s unit subtree, and the isolation is enforced with PostgreSQL row-level security rather than trusted to the application layer.
Authentication and onboarding create the organisation and its first unit. The dashboard reports on membership and activity. Organisations and tenancy handle the structure. Members, roles and volunteers handle people and their assignments. Events, attendance and field operations handle the ground work. Content, communications and tasks handle the internal flow. Money covers donations, expenses and the ledger. Governance covers voting, grievances and audit. Platform settings cover offline behaviour, integrations and white-labelling.
Because the areas share one data model, a member who attends an event, donates and raises a grievance is one record, not three. That is the difference between a platform and a folder of tools.
Field work happens in places with poor connectivity: a ward meeting, a relief distribution, a membership drive. The web client is an offline-first progressive web app with a service worker and local storage, so a membership record or an attendance list can be captured without a signal and synchronised when the connection returns. The same API is designed to serve a future Expo mobile client and a desktop client without a backend rewrite.
The stack is deliberately conventional: Next.js, React and TypeScript on the front, a single REST API with JWT access and refresh tokens, raw PostgreSQL with row-level security and JSONB, PgBouncer for connection pooling, S3-compatible storage for files and a WebSocket channel for realtime updates. No backend-as-a-service, no per-tenant database fork.
Each tenant carries its own name, logo, theme and feature toggles, and the web client reads them at runtime. An organisation can run under its own identity without a separate deployment, which is what makes the platform viable for a federation of units or a vendor serving several organisations.
The foundation, schema, authentication, tenancy and API contracts are documented and implemented. The web shell is scaffolded and the feature screens are being built against those contracts. We would rather describe it as a foundation ready for a pilot than claim a finished product with a client list.
Nine connected areas on one tenant-safe data model.
Membership, volunteers and scoped roles across a hierarchy of organisational units.
Events, attendance and field activity captured in the field and reconciled when connectivity returns.
Donations, expenses, a ledger, voting, grievances and an audit trail in the same system.
PostgreSQL row-level security scopes every query to the actor’s unit subtree, not to a client-supplied tenant id.
From tenant creation to field work.
Onboarding creates the tenant, its root unit and the first owner account.
Units, members, roles and permissions are defined to match how the organisation actually operates.
Events, donations, communications and governance run in the same platform, with offline capture for field teams.
Tenancy, offline use and deployment.
A multi-tenant management platform for political parties, NGOs and membership organisations. Membership and roles, events and attendance, donations and expenses, grievances and voting, all with tenant isolation enforced in the database and an offline-first web client.