Skip to content

AdonisJS · v0.2.2

The only multi-tenant layer your AdonisJS app will ever need.

Hand-stacked, schema-isolated PostgreSQL tenants with the production plumbing your SaaS will eventually need — and the operational tooling you'd otherwise spend six months writing yourself.

npm install @adonisjs-lasagna/saas-tenancy

Tenant schemas

Isolated. Secure. Scalable.

Bootstrappers

Spin up tenants in seconds.

Operational services

Jobs, backups, metrics, and more.

AdonisJS 7

Built for performance.

PostgreSQL 14+

Rock-solid foundation.

Zellige-precision isolation

Each tenant lives in its own PostgreSQL schema, named, provisioned, and routed without a `tenant_id` ever leaving the package boundary.

SaaS-ready operations

Circuit breakers, read replicas, audit logs, signed webhooks, scheduled backups with retention tiers, OpenTelemetry, Prometheus. None of it bolted on later.

Chef-level tooling

A doctor command that fixes things. Thirty-two ace commands. A REST admin API with OpenAPI 3.1. Helm chart, Dockerfile, e2e suite — kitchen included.

You know that moment in the kitchen when you lift the first layer of pasta and see every ingredient exactly where it belongs? That's what we built.

Each tenant is its own layer — isolated, secure, perfectly stacked over your AdonisJS foundation. Read the full story.

Build your first SaaS in thirty minutes.

The quickstart walks you from npm install to a live, schema-isolated tenant with audit logs, quotas, and a doctor report — without ever writing the words tenant_id =.

Open the quickstart

Released under the MIT License.