rackend documentation
rackend is a self-hosted, single-binary backend-as-a-service written in Rust, inspired by PocketBase. One binary (or one container) gives you a database with an admin UI, a REST API with access rules, authentication (including an OpenID Connect provider), file storage, realtime and observability. SQLite is the only database.


What you get
Section titled “What you get”- Collections and REST API. Define collections in the admin UI and get a REST API with access rules that decide who may see and change what.
- Authentication. Passwords, passkeys, one-time codes by email, verification, password reset and email change, and sign-in through Google, Microsoft Entra ID, Apple, GitHub or any OpenID Connect issuer.
- OpenID Connect provider. Sign users in to your own apps with rackend, tested nightly against the OpenID Foundation conformance suite (Basic OP and Config OP).
- Files. Uploads on local disk or any S3-compatible bucket, with thumbnails made on demand.
- Realtime. Record events over SSE and WebSocket, channels with presence, and collaborative editing with Yjs.
- Data safety. Scheduled and on-demand backups with a checksum for every file, a verified snapshot before every upgrade, and secrets encrypted at rest.
- Observability. A dashboard in the admin UI, request logs, an audit log, Prometheus metrics and OpenTelemetry export.
- Typed clients. An OpenAPI document for generating clients in your language.
Where to start
Section titled “Where to start”Getting startedRun rackend, create a collection with access rules, and call the API. About five minutes.
Run rackendDocker, storage, configuration, reverse proxies, email, backups and upgrades.
RulesWho may see and change what, including how rules treat lists of values.
ErrorsEvery problem code the API returns.
Versions
Section titled “Versions”These docs exist for every minor version of rackend; pick yours next to the title at the top. Container tags follow the same scheme: ghcr.io/axanet/rackend:0.0 always runs the newest 0.0.x. The next docs describe rackend’s main branch, which is not released yet.
rackend is in early development. While the version is 0.x, a minor release may contain breaking changes; the changelog marks them.