← Back to all projects

Multi-Tenant SaaS Framework

Multi-Tenant SaaS Framework project screenshot

The framework the business platform grew into: one codebase serving many companies, each with its own database, and every feature delivered as a plug-in module (CRM, finance and tax, legal, telephony, a security console) through a versioned module contract. Login with 2FA and passkeys, roles, audit, diary and tasks, document templates and an AI agent come built in.

Technology

frontendhtmxalpine.jsjinja2
backendpythonflaskrest-api
databasemysqlpostgresqlalembic
devopskubernetesdocker
toolsmcpclaudewebauthn

Multi-Tenant SaaS Framework

The idea

Every business system needs the same foundations. Build them once, properly, and let each product be a module that drops in.

What it provides

  • Tenancy: one database per tenant, so customer data never shares tables.
  • Security: bcrypt passwords with lockout, single sessions, 2FA and passkeys, roles and menu permissions, audit trail.
  • Built-in features: diary and tasks, help articles, a template-document designer, settings and an AI agent that modules extend with their own tools.
  • Module contract: a module declares its menus, migrations, help, agent tools, periodic jobs and hooks in one manifest and never edits the base. The contract is versioned so modules state which base they need.

Modules built on it

CRM, finance and UK tax, legal case management, telephony and a web phone, and the edge-security control panel.


Private system: a walkthrough or live demo is available on request.