adonisjs-multi-tenancy

Community

Architect multi-tenant AdonisJS apps with ease.

Authoromakei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Multi-tenant architecture patterns for AdonisJS provide clear separation between central (landlord) and tenanted contexts, enabling dynamic tenant connections and strict data isolation in SaaS applications.

Core Features & Use Cases

  • Central vs tenanted architecture with per-tenant databases or schemas
  • Runtime tenant resolution via middleware and HttpContext integration
  • Dynamic ConnectionManager-backed tenant connections to avoid runtime config mutations
  • Actions and jobs that run within the correct tenant context
  • Testing strategies for central and tenanted flows (including migrations)

Quick Start

Start by configuring a central database, implementing tenant resolution middleware, and registering tenant connections to enable tenant-scoped queries.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: adonisjs-multi-tenancy
Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-multi-tenancy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.