Hanzo Base · App backend

The backend in one file

An embedded application backend — database, auth, file storage, and realtime — in a single deployable, with Hanzo IAM wired in natively. SQLite by default for instant local dev; scale out when you need to.

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 re-implementing auth, storage, and realtime for every project. Base ships them as one cohesive backend that grows from a laptop to production.

01

Database

A real database with schema, migrations, and a typed REST API generated for you — SQLite embedded by default, Postgres when you go multi-instance.

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.

SQLite → Postgres

Embedded SQLite for fast local dev; switch to Postgres for multi-instance production.

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

Forked from PocketBase (MIT). We track upstream and contribute fixes back where possible.

Get Base

Embedded data backend with IAM-native auth