Bootstrap Multi-tenant

FaithCRM

Base inicial de la plataforma pastoral para operar múltiples iglesias con aislamiento por schema, backend en Django y frontend en Next.js.

Approach

Un solo frontend y backend, una sola base PostgreSQL y un schema independiente por iglesia.

Routing

Cada tenant se resuelve por dominio o subdominio antes de ejecutar la lógica de negocio.

API Base

/api

Módulos base del repositorio

  • Tenants and domains
  • Users and permissions
  • Campuses, ministries and groups
  • Configurable workflows
  • Reports and automations
Tenant = churchCampuses belong inside a tenant and should never be modeled as separate tenants.
Public schemaThe control plane lives in the shared schema: tenants, domains and platform-level records.
Configuration through dataChurch-level differences should come from metadata and configuration, not custom schema changes.