Skip to content

AnvilBase Documentation

AnvilBase is a self-hostable backend platform (BaaS). It gives you a Postgres database, auto-generated REST API, authentication, realtime subscriptions, object storage, edge functions, queues, cache, a secrets vault, and webhooks — for as many isolated projects as you want — from a single deployment and a single web console.

Forged for your infrastructure.

If you know Supabase, you already know AnvilBase: the data-plane API and the @supabase/supabase-js client work the same way. The difference is that AnvilBase runs many fully-isolated projects out of one stack, ships a complete security architecture (database-per-project isolation, RLS-on-by-default, encryption at rest, audit logs, RBAC), and runs the identical stack locally and in production.


Start here

If you want to…Go to
Understand what AnvilBase is and how it’s builtIntroduction → Overview
Get a stack running on your machine in 10 minutesGetting Started → Installation
Build your first app against itGetting Started → Quickstart
Connect a frontend with the SDKConnect Your App
Migrate an existing Supabase projectMigrate from Supabase
Deploy to productionSelf-Hosting → Overview

Documentation map

Introduction

Getting started

Database

REST API (data plane)

Auth

Realtime

Storage

Edge Functions

Platform features

Security

eIDAS 2.0 (EU Digital Identity)

Self-hosting & operations

CLI

Tools & integrations

Reference

Publishing these docs


Conventions used in this documentation

  • <project_id> — a project’s UUID, returned when you create a project.
  • <slug> — the human-friendly project slug (e.g. my-app).
  • Code samples are provided for curl, TypeScript (@supabase/supabase-js), Python (supabase-py), and Dart/Flutter (supabase_flutter) wherever a client interaction is involved. Pick the tab/snippet for your stack.
  • Endpoints on the management plane are written /api/v1/...; endpoints on the data plane are written /v1/.... They use different credentials — see Core Concepts.
  • Examples assume a local install reachable at http://localhost:39001. In production, substitute your own host (TLS-terminated at Traefik).

License

AnvilBase is distributed under the Business Source License 1.1 (BSL 1.1). It is source-available and converts to Apache 2.0 four years after each release. See Glossary → License for details.