Saas Platform

Frappe app for Single Site Multi-tenant foundations

Install Saas Platform

bench get-app https://github.com/vyogotech/saas_platform

Add the Frappe Gems badge to your README

Maintain Saas Platform? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=vyogotech%2Fsaas_platform)](https://frappegems.com/gems/apps/vyogotech/saas_platform)

About Saas Platform

SaaS Platform

A multi-tenant SaaS foundation for Frappe/ERPNext, designed to manage tenant lifecycle, data isolation, and central authentication.

Key Responsibilities

  • Multi-Tenant Foundation: Adds tenant_id to all relevant DocTypes (including User) 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_id metadata required by the Frappe Microservice Framework to perform cross-service authentication and data segregation.

Documentation

Installation Quick Start

# 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 restart

License

MIT

Related Developer Tools apps for Frappe & ERPNext

  • Frappe — Low code web framework for real world applications, in Python and Javascript
  • Frappe Docker — Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
  • Builder — Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly
  • Bench — CLI to manage Multi-tenant deployments for Frappe apps
  • Frappe Ui — A set of components and utilities for rapid UI development
  • Press — Full service cloud hosting for the Frappe stack - powers Frappe Cloud
  • Gameplan — Open Source Discussions Platform for Remote Teams
  • Doppio — A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.