A multi-tenant SaaS foundation for Frappe/ERPNext, designed to manage tenant lifecycle, data isolation, and central authentication.
- Multi-Tenant Foundation: Adds
tenant_idto all relevant DocTypes (includingUser) to ensure strict row-level data isolation. - Central Authentication: Acts as the Identity Provider (IdP) for the entire ecosystem.
- Tenant Lifecycle: Manages the creation of tenants, customer billing accounts, and subscriptions.
- Core of the Microservice Ecosystem: Provides the critical
tenant_idmetadata required by the Frappe Microservice Framework to perform cross-service authentication and data segregation.
- Multi-Tenant Architecture
- Implementation Guide
- Microservice Integration Guide
- Full Installation Guide
# 1. Install app
bench get-app https://github.com/varun-krishnamurthy/saas_platform.git
bench --site [your-site] install-app saas_platform
# 2. Migration
bench --site [your-site] execute saas_platform.patches.add_tenant_id_to_all_tables.execute
bench --site [your-site] execute saas_platform.utils.add_custom_fields.execute
# 3. Restart
bench restartMIT