Skip to content
DocumentationStart buildingSign in
Hanzo Base · App backend

The backend in one file

Everything your app or business needs on the backend — database, auth, file storage, realtime, and server-side logic — in one embedded, deployable file, with Hanzo IAM wired in natively. Multi-tenant by design: every org gets its own encrypted database, streamed continuously to object storage, so one file scales from your laptop to a global fleet.

Open source (MIT). Runs as one binary — self-host or deploy managed on Hanzo Cloud.

What is Hanzo Base

Everything an app backend needs, embedded

Stop stitching together a database, auth, storage, and realtime for every project. Base ships them as one cohesive, multi-tenant backend that grows with you — from a single file on your laptop to a replicated production fleet, with no rewrite.

01

Database

A real database with schema, migrations, and a typed REST API generated for you. Per-tenant SQLite by default — instant and isolated per org — with Postgres when you need multi-primary writes.

02

Auth via Hanzo IAM

Users, sessions, and OAuth handled by Hanzo IAM — one identity across every Hanzo surface, with no bespoke auth to build or maintain.

03

Files & realtime

Object storage with access rules and live subscriptions over websockets — the pieces every app reinvents, built in from day one.

Capabilities

Batteries included, nothing hidden

Instant REST API

Every collection gets a typed CRUD API and an admin UI the moment you define it.

Realtime subscriptions

Subscribe to records over websockets and push changes to clients without polling.

Rules-based access

Per-collection read/write rules evaluated on the edge of every request.

File storage

Upload, transform, and serve files under the same access rules as your data.

Scales horizontally

Every org runs its own encrypted database with continuous replication to object storage — durability, point-in-time restore, and read replicas from a laptop to a global fleet. Postgres for multi-primary writes.

IAM-native SSO

Sign-in, org and tenant scoping, and audit come from Hanzo IAM out of the box.

Stand up your backend in minutes

Deploy Base on Hanzo Cloud, or run the single binary anywhere you like.

Open source

License: MIThanzoai/base

Get Base

Embedded data backend with IAM-native auth