# Rebase — the open-source Postgres BaaS > Rebase is an open-source TypeScript backend built on Postgres: a REST API, authentication, > row-level security, realtime subscriptions, storage, cron jobs, and an MCP server for AI agents — > all generated from your schema, with a full admin panel and SQL editor included on top. > Connect an existing PostgreSQL database or start fresh; Rebase uses Drizzle ORM under the hood and > keeps your TypeScript table definitions (defineTable, in backend/schema) as the single source of truth. > Scoped API keys with per-table permissions plus Postgres-enforced RLS make it safe for > autonomous agents to read and write production data. ## Product - [Rebase](https://rebase.pro/): What Rebase is: a Postgres backend with an admin panel generated from the same schema. - [Backend](https://rebase.pro/backend): The backend on its own — REST API, auth, RLS, realtime, storage, functions, cron. - [Admin panel (CMS)](https://rebase.pro/cms): The admin UI your non-technical teammates use, generated from the tables. - [Studio](https://rebase.pro/studio): The developer half of the admin panel: SQL console, RLS policies, schema diagram, branches, cron and logs. - [Pricing](https://rebase.pro/pricing): Open source and self-hosted, plus Rebase Cloud (private beta), priced per resource rather than per seat. - [Security](https://rebase.pro/security): Row-level security compiled from code to real Postgres policies, and how it is enforced. - [rls-check (free tool)](https://rebase.pro/rls-check): A free, read-only Row-Level Security audit for ANY Postgres database — Supabase, Neon, RDS, anything. 15 checks, one command, no account, no Rebase required. - [For agencies](https://rebase.pro/agencies): Shipping a client-ready admin panel from the backend you were going to build anyway. - [CLI](https://rebase.pro/cli): `npm i -g @rebasepro/cli` — scaffold, run, migrate and deploy a project. - [Compare](https://rebase.pro/compare): Side-by-side against the alternatives, including where a competitor is the better call. ## Comparisons - [Rebase vs Supabase](https://rebase.pro/rebase-vs-supabase): Where each one wins, and where the other is the better call. - [Rebase vs Firebase](https://rebase.pro/rebase-vs-firebase): Where each one wins, and where the other is the better call. - [Rebase vs Appwrite](https://rebase.pro/rebase-vs-appwrite): Where each one wins, and where the other is the better call. - [Rebase vs Directus](https://rebase.pro/rebase-vs-directus): Where each one wins, and where the other is the better call. - [Rebase vs Strapi](https://rebase.pro/rebase-vs-strapi): Where each one wins, and where the other is the better call. - [Rebase vs Payload](https://rebase.pro/rebase-vs-payload): Where each one wins, and where the other is the better call. - [Rebase vs Retool](https://rebase.pro/rebase-vs-retool): Where each one wins, and where the other is the better call. - [Rebase vs Hasura](https://rebase.pro/rebase-vs-hasura): Where each one wins, and where the other is the better call. - [Rebase vs Django](https://rebase.pro/rebase-vs-django): Where each one wins, and where the other is the better call. ## Documentation - [Introduction](https://rebase.pro/docs/index.md): Rebase is the open-source backend for Postgres, with an admin panel for your team, built with React and TypeScript. Define your schema in TypeScript, and Rebase generates a full CRUD UI, REST API, authentication, storage, and real-time sync — powered by PostgreSQL. - [Quickstart](https://rebase.pro/docs/getting-started/quickstart.md): Create a new Rebase project and get it running locally in under 2 minutes. - [Windows](https://rebase.pro/docs/getting-started/windows.md): Install and run a Rebase project on Windows — what works natively, the one tool (Atlas) that needs its own Windows binary for db push, db generate and db migrate, and when to use WSL2 instead. - [Project Structure](https://rebase.pro/docs/getting-started/project-structure.md): The layout of a Rebase project — the tables in backend/schema, the backend modules the runtime reads, and the admin panel's customizations in frontend/src/cms — with and without the panel. - [Environment & Configuration](https://rebase.pro/docs/getting-started/configuration.md): All environment variables and configuration options for Rebase projects. - [Troubleshooting](https://rebase.pro/docs/troubleshooting.md): The failures that stop a Rebase backend from starting or serving — an unreachable database, wrong credentials, a missing extension, an RLS refusal, schema drift, a busy port, a function that will not load — and what each one looks like. - [Upgrading](https://rebase.pro/docs/upgrading.md): What breaks when you move an existing app to the current release, and what to do about each one. - [Upgrading 0.30 to 0.31](https://rebase.pro/docs/upgrading/0-30-to-0-31.md): The breaking changes 0.31 carries for an app on 0.30 — tables in backend/schema replace config/collections, the panel renders what the server serves, the SDK says data.table(slug) — with the codemod that moves a project, and every manual step after it. - [Imports that moved in 0.31](https://rebase.pro/docs/upgrading/0-30-to-0-31-imports.md): Every export 0.31 moved from @rebasepro/types, @rebasepro/common or @rebasepro/server to @rebasepro/cms-types, @rebasepro/cms or @rebasepro/common/migrate, and every one it removed, with what to write instead. - [What projects changed by hand for 0.31](https://rebase.pro/docs/upgrading/0-30-to-0-31-by-hand.md): The edits real projects needed after rebase migrate collections-to-tables: the toolchain floors of a project older than 0.30, row-shaped admin code, renamed relations in include, collection objects changed at run time, SDK calls no type checker sees, and storage access control. - [Upgrading 0.29 to 0.30](https://rebase.pro/docs/upgrading/0-29-to-0-30.md): The breaking changes 0.30 carries for an app on 0.29 — a backend booted with initializeRebaseBackend keeps the refresh token in a cookie by default. - [Upgrading 0.27 to 0.29](https://rebase.pro/docs/upgrading/0-27-to-0-29.md): The breaking changes 0.29 carries for an app on 0.27 or 0.28 — the admin hands your code the server's rows instead of its internal Entity, its Entity hooks go internal, and "which record" is `id` everywhere. - [Upgrading 0.26 to 0.27](https://rebase.pro/docs/upgrading/0-26-to-0-27.md): The breaking changes 0.27 carries for an app on 0.26 — cron schedules that restrict both day fields, malformed cron numbers, a key strategy its type cannot honour, managed deploys that stop on a file that did not load, and browser clients that default to cookie auth. - [Upgrading 0.25 to 0.26](https://rebase.pro/docs/upgrading/0-25-to-0-26.md): The breaking changes 0.26 carries for an app on 0.25 — multi-hop via writes, role names, storage page tokens, the functions upstream, OAuth refusal reasons, the MCP server's app key, generated foreign keys, and three cloud commands and tokens. - [Upgrading 0.24 to 0.25](https://rebase.pro/docs/upgrading/0-24-to-0-25.md): The breaking changes 0.25 carries for an app on 0.24 — the REST count switch, the MCP collection listing, the admin's translations, stricter refusals at boot and on writes and reads, the SDK's cron path and offline reads, storage sources, the UI kit, session length and the password policy, and removed exports. - [Upgrading 0.23 to 0.24](https://rebase.pro/docs/upgrading/0-23-to-0-24.md): The breaking changes 0.24 carries for an app on 0.23 — generated SQL and SDK types, CLI paths, scopes, upserts and keys, the remote MCP endpoint, sessions and accounts, the backup routes, the insights plugin and images in markdown fields. - [Upgrading 0.21 to 0.23](https://rebase.pro/docs/upgrading/0-21-to-0-23.md): The breaking changes 0.23 carries for an app on 0.21 or 0.22 — nested-path API keys, boot refusals, custom auth repositories, guest upgrades and custom job stores. - [Upgrading 0.18 to 0.21](https://rebase.pro/docs/upgrading/0-18-to-0-21.md): Every breaking change in 0.21, and what to do about each one. - [Upgrading 0.17 to 0.18](https://rebase.pro/docs/upgrading/0-17-to-0-18.md): Every breaking change in 0.18, and what to do about each one. - [Upgrading 0.14 to 0.17](https://rebase.pro/docs/upgrading/0-14-to-0-17.md): The admin package renames, declared resources, and the bundle format change that stops an older build booting on a current runtime. - [Upgrading 0.13 to 0.14](https://rebase.pro/docs/upgrading/0-13-to-0-14.md): Every wire key becomes camelCase, anonymous sign-in becomes opt-in, and one package is removed. - [Upgrading 0.12 to 0.13](https://rebase.pro/docs/upgrading/0-12-to-0-13.md): The auth schema removal, the package renames, and the three ways access could be granted that you did not ask for. - [Compatibility](https://rebase.pro/docs/compatibility.md): What Rebase promises across versions and what it does not — the six versioned contracts, how each one fails, and what may still change in a minor. - [Changelog](https://rebase.pro/docs/changelog.md): Every released change to Rebase — new features, fixes, and the breaking changes each version asks you to migrate. - [Backend only (headless)](https://rebase.pro/docs/getting-started/headless.md): Run Rebase as a headless Backend-as-a-Service over your own PostgreSQL — a REST API, auth, storage and realtime, with no admin panel and no backend/schema. - [Running on an existing or shared database](https://rebase.pro/docs/deployment/existing-database.md): Run Rebase on a PostgreSQL database it does not own — a cluster shared with other apps, a second Rebase project, Supabase, or a database a DBA locks down — with the rls settings, rebase doctor --database and rebase db request-role migrate. - [REST API](https://rebase.pro/docs/backend/api.md): Auto-generated REST API endpoints for every table, with filtering, sorting, pagination, and relation inclusion. - [REST API filtering](https://rebase.pro/docs/backend/filtering.md): Filter REST list requests with PostgREST-style operators, or/and groups and the where JSON dialect, and see how the filters combine. - [Writing over REST](https://rebase.pro/docs/backend/writes.md): Idempotency keys, conditional writes with ETag and If-Match, field operations, upserts on a natural key, return=minimal, and cross-table batches. - [Typed SDK — Getting Started](https://rebase.pro/docs/sdk.md): Install and configure the Rebase typed SDK to interact with your backend from any JavaScript or TypeScript application. - [Row-level security](https://rebase.pro/docs/collections/security-rules.md): Every table declares its rls posture — admin-only, inherit or a list of rules — and Rebase compiles it to Postgres row-level security policies. Rule forms, shorthand conditions, defaultRls and what fails closed. - [Field access](https://rebase.pro/docs/collections/field-access.md): Per-column read and write permissions by role with .access(), columns that never leave the server with .private(), and columns clients cannot write with .readOnly(). A caller the row's policies let through still does not receive a column their roles cannot read. - [Tenancy](https://rebase.pro/docs/collections/tenancy.md): Scope every row of a table to a site, organization or workspace with one tenant declaration, enforced by Postgres row-level security. - [Tables](https://rebase.pro/docs/schema.md): Declare Postgres tables in backend/schema with defineTable: columns, relations and a mandatory row-level security posture. Each table becomes SQL, policies, REST, realtime and MCP routes, and SDK types. - [Columns](https://rebase.pro/docs/schema/columns.md): Every col.* builder and modifier: the Postgres type each one creates, the type a client reads and writes, and what the API enforces — nullability, defaults, stamps, validation, closed value sets, access and storage. - [JSON documents](https://rebase.pro/docs/schema/json.md): Type a jsonb column with col.jsonb().$type(), or give it a shape with json.* so the server validates nested fields, applies defaults and stamps, finds the files a document references and searches inside it. - [Relations](https://rebase.pro/docs/collections/relations.md): Link tables with rel.belongsTo, hasOne, hasMany, manyToMany and via: foreign keys bound or derived, junction tables with _pivot columns, delete rules, naming rules and multi-hop joins. - [The users table](https://rebase.pro/docs/schema/auth-table.md): defineAuthTable declares the table auth stores users in: the columns auth needs, a self-read policy, admin-only privilege columns, and the access model — roles, app scopes, personal keys and the user-lifecycle hooks. - [Views](https://rebase.pro/docs/collections/views.md): Serve a SQL view or a materialized view read-only with defineView: security_invoker views governed by the tables they read, materialized views gated by roles, refreshed on demand, created by db push. - [Soft delete](https://rebase.pro/docs/collections/soft-delete.md): softDelete on a table turns delete into a timestamp, hides stamped rows from every read, and restores them with an ordinary update. - [Table hooks](https://rebase.pro/docs/collections/callbacks.md): Run server-side code at every step of a table's lifecycle with hooks: narrow reads, mask fields, validate and complete writes, react to saves and deletes, and transform single columns. - [The context.data API](https://rebase.pro/docs/collections/context-data-api.md): Read and write other tables from inside a table hook with context.data — its methods, the privileges it runs with, transaction semantics, and the connection a hook holds. - [Row-level security](https://rebase.pro/docs/collections/security-rules.md): Every table declares its rls posture — admin-only, inherit or a list of rules — and Rebase compiles it to Postgres row-level security policies. Rule forms, shorthand conditions, defaultRls and what fails closed. - [Field access](https://rebase.pro/docs/collections/field-access.md): Per-column read and write permissions by role with .access(), columns that never leave the server with .private(), and columns clients cannot write with .readOnly(). A caller the row's policies let through still does not receive a column their roles cannot read. - [Tenancy](https://rebase.pro/docs/collections/tenancy.md): Scope every row of a table to a site, organization or workspace with one tenant declaration, enforced by Postgres row-level security. - [Type inference](https://rebase.pro/docs/schema/types.md): InferRow, InferInsert and InferUpdate read a table's columns and modifiers to type the rows it serves and the writes it accepts — in hooks, in server code, and in a frontend that imports the table's type. - [Tables in the CMS](https://rebase.pro/docs/collections.md): How the CMS shows every Postgres table with no frontend configuration: labels, the widget each column type gets, required and read-only fields, relations, display slots, and Create, Edit and Delete controls that follow the table's row-level security. - [customizeTable](https://rebase.pro/docs/frontend/customize-table.md): customizeTable states how one table's collection differs from what the CMS derives: labels, icon, views, kanban, display slots, form layout, actions, and per-field options with React components imported by value. Every option, with its type and effect. - [Fields](https://rebase.pro/docs/collections/properties.md): The field the CMS draws for each column type — text, markdown, email, URL, select, multi-select, number, switch, date, file upload, JSON, geopoint, vector, binary — and the customizeTable options that change each one. - [Arrays and JSON fields](https://rebase.pro/docs/collections/arrays-and-maps.md): How the CMS draws array and jsonb columns — repeatable lists, multi-selects, structured groups, block editors and free key/value documents — and how customizeTable customizes their items and nested keys. - [File upload fields](https://rebase.pro/docs/collections/file-uploads.md): How the CMS draws a col.storage() column as an upload field: the rules the server enforces on the column, the browser-only functions customizeTable adds, single and multi-file fields, and what happens to stored files. - [Validation and conditions](https://rebase.pro/docs/collections/validation-and-conditions.md): How the CMS form shows a column's rules — required, length, pattern, bounds, unique — where those rules are checked, and conditional fields that become required, disabled or hidden from the record's own values. - [Relations in the admin panel](https://rebase.pro/docs/collections/relations-in-the-admin-panel.md): How the CMS draws a table's relations: a picker for a belongsTo, a tab under the record for every to-many relation, owned versus shared rows, the same rules over REST, and the customizeTable options for relation fields. - [Backend Overview](https://rebase.pro/docs/backend.md): The Rebase backend provides a complete server with REST API, authentication, storage, WebSocket real-time, and entity history — all initialized with a single function call. - [Rebase doesn't do X](https://rebase.pro/docs/backend/extending.md): The server-side extension ladder — declaration, table hook, custom function, your own routes, your own server, eject — with what each one can and cannot reach. - [REST API](https://rebase.pro/docs/backend/api.md): Auto-generated REST API endpoints for every table, with filtering, sorting, pagination, and relation inclusion. - [REST API filtering](https://rebase.pro/docs/backend/filtering.md): Filter REST list requests with PostgREST-style operators, or/and groups and the where JSON dialect, and see how the filters combine. - [Writing over REST](https://rebase.pro/docs/backend/writes.md): Idempotency keys, conditional writes with ETag and If-Match, field operations, upserts on a natural key, return=minimal, and cross-table batches. - [API keys](https://rebase.pro/docs/backend/api-keys.md): Long-lived keys for scripts, CI, agents and integrations: service keys and personal keys, the scopes they hold, how they compose with row-level security, and the routes that manage them. - [Error codes](https://rebase.pro/docs/backend/errors.md): Every error code a Rebase backend can return, with its HTTP status, what it means and what to do about it — plus the response envelope, X-Request-ID and the details rules. - [Endpoint index](https://rebase.pro/docs/backend/endpoints.md): Every HTTP route a Rebase backend mounts — data, auth, storage, admin, meta — with the gate on each one and the page that explains it. - [Live schema editing](https://rebase.pro/docs/backend/live-schema-editing.md): Create and alter tables against a running backend — the edit is written to backend/schema, committed to your repository first, then applied. - [Authentication](https://rebase.pro/docs/backend/authentication.md): Configure JWT authentication, OAuth providers, SMTP email, bot protection and the users table on the Rebase backend. - [Roles and scopes](https://rebase.pro/docs/backend/roles-and-scopes.md): What a caller may do: the data plane every person holds, the admin plane that roles grant, the scopes an app declares for itself, and how each credential carries them. - [Email verification](https://rebase.pro/docs/backend/email-verification.md): How an account proves its email address: the link mailed at registration, what following it keeps and removes, and confirm-first registration with requireEmailVerification. - [Device sign-in](https://rebase.pro/docs/backend/device-sign-in.md): Let a terminal or another device without a browser sign in through one: a short code, a link, and an approval by a signed-in user. RFC 8628's device authorization grant, as rebase cloud login uses it. - [Auth endpoints and tokens](https://rebase.pro/docs/backend/auth-endpoints.md): The authentication routes the Rebase backend mounts, their response shapes, multi-factor authentication, the database context a policy sees, JWKS and service keys. - [Custom auth adapters](https://rebase.pro/docs/backend/auth-adapters.md): Replace Rebase's built-in authentication with Clerk, Firebase Auth or your own identity provider by implementing the AuthAdapter contract. - [Storage Configuration](https://rebase.pro/docs/backend/storage.md): Configure local filesystem, S3-compatible, or GCS/Firebase Storage backends for file uploads, images, and media. - [Storage Authorization](https://rebase.pro/docs/backend/storage-authorization.md): Decide who may read, write, delete or list each storage object with storagePolicies and the storageAuthorize hook, and which storage scopes an API key needs. - [Storage caching and CDNs](https://rebase.pro/docs/backend/storage-caching.md): How Rebase serves stored files so browsers and CDNs can cache them — ETags and 304s, Cache-Control by who may read an object, byte ranges for seeking in audio and video, and what to configure on a CDN in front. - [Resumable uploads (TUS)](https://rebase.pro/docs/backend/storage-resumable-uploads.md): The TUS v1.0.0 endpoint under /api/storage/tus — how a large file goes up a chunk at a time, what each request answers, how the SDK and the admin panel use it, and how it behaves across restarts and instances. - [Multiple Databases and Buckets](https://rebase.pro/docs/backend/multiple-sources.md): Route tables to different databases and storage columns to different buckets, and configure each one from the environment. - [Realtime & WebSocket](https://rebase.pro/docs/backend/realtime.md): Real-time data synchronization, broadcast channels, and presence tracking via WebSocket. - [Realtime across instances](https://rebase.pro/docs/backend/realtime-transports.md): How broadcast channels and presence survive more than one server process: the LISTEN/NOTIFY bus, what each instance owns, and writing your own transport. - [Database change capture](https://rebase.pro/docs/backend/realtime-cdc.md): Realtime events for every committed write, however it was made: the capture triggers, the REALTIME_CDC setting, and what they need. - [Search](https://rebase.pro/docs/backend/search.md): How .search() behaves by default, and how a table opts in to ranked full-text search over the columns you name — including JSONB and array content. - [Vector Search](https://rebase.pro/docs/backend/vector-search.md): Nearest-neighbour search over a col.vector() column through the REST API — the query parameters, thresholds, embeddings too long for a URL, and how filters behave on an HNSW index. - [Indexes](https://rebase.pro/docs/backend/indexes.md): Declare ordinary Postgres indexes on a table — btree, GIN and BRIN, partial, composite, covering and unique — and why a hand-written one used to disappear. - [Cron Jobs](https://rebase.pro/docs/backend/cron-jobs.md): Schedule recurring background tasks with Rebase's built-in cron job system. Define jobs as TypeScript files, monitor them in Studio, and manage them via the REST API. - [Cron Jobs API](https://rebase.pro/docs/backend/cron-jobs-api.md): List, trigger, pause and resume cron jobs over the REST API, or with the typed SDK's client.cron. - [Cron across instances](https://rebase.pro/docs/backend/cron-across-instances.md): How cron jobs behave with more than one server process: one run per slot, a slot a restart dropped, a pause every replica honours, and runs that never overlap. - [Background Jobs](https://rebase.pro/docs/backend/jobs.md): A durable, Postgres-backed job queue — work that survives a restart, retried with backoff, with failures kept rather than dropped. - [Push notifications](https://rebase.pro/docs/backend/push-notifications.md): Web Push to your users' browsers — Chrome, Firefox, Edge and Safari on iPhone, iPad and Mac — sent from functions and cron jobs with rebase.push. - [Custom Functions](https://rebase.pro/docs/backend/custom-functions.md): Add custom Hono API endpoints alongside your Rebase CRUD routes. Auto-discovered from a directory, with full access to the backend instance. - [Background Work](https://rebase.pro/docs/backend/background-work.md): Run work after a custom function has answered: waitUntil, what the host does with it at shutdown, and what is lost without it. - [Logging](https://rebase.pro/docs/backend/logging.md): What a Rebase backend writes to its log, how to write your own lines from functions and crons, and where to read them: Studio, the CLI, and agents through MCP. - [Rate limits in functions](https://rebase.pro/docs/backend/function-rate-limits.md): rateLimit and checkRateLimit for custom functions: 429s with Retry-After, counted in the backend's own store so replicas share one allowance. - [SQL functions as RPC](https://rebase.pro/docs/backend/rpc.md): Expose a Postgres function at POST /api/rpc/ with defineRpc: declared per function, arguments validated, run as the caller under row-level security, public ones rate-limited. - [Runtime portability](https://rebase.pro/docs/backend/runtime-portability.md): What a custom function imports decides whether it could run outside a Node process — what is portable, what is Node-only, and how rebase build and rebase doctor report it. - [Typed server-side data](https://rebase.pro/docs/backend/typed-server-data.md): Register your generated Database type once, and context.data, rebase.dataAsAdmin and the rebase a function or cron receives are typed from it: rows, filters, sorts, includes and write inputs. - [Global Backend Hooks](https://rebase.pro/docs/backend/hooks.md): Apply cross-cutting lifecycle hooks to every table at the server level: export hooks from backend/hooks.ts, in the same TableHooks shape a table's own hooks use. - [Entity History](https://rebase.pro/docs/backend/history.md): Track every change to your entities with a full audit trail — who changed what, when, and the complete before/after entity. - [Database Branching](https://rebase.pro/docs/backend/branching.md): Create isolated database branches for development, staging, and testing using PostgreSQL's CREATE DATABASE ... TEMPLATE — instant, full-fidelity copies with zero downtime. - [Custom Server Integration](https://rebase.pro/docs/backend/custom-server.md): Build the Rebase backend from public pieces in your own server — createRebaseBackend, its route groups, mount, attachRealtime and start — or embed the Postgres driver in Express. - [Embedding the Postgres Driver](https://rebase.pro/docs/backend/embedding-postgres-driver.md): Open @rebasepro/server-postgres's data driver and realtime socket inside Express, Fastify or plain Node, without the Rebase server — read replicas, Drizzle and draining included. - [Scripts and the Console](https://rebase.pro/docs/backend/scripts.md): Open a project's data from a script, a test or a REPL with openRebase, or from the terminal with rebase console. No server, no schema changes. - [Frontend Overview](https://rebase.pro/docs/frontend.md): Build and customize the panel — Rebase CMS and Rebase Studio — with React: controllers, scaffold, routing, and views. - [Customizing the Admin](https://rebase.pro/docs/frontend/customizing.md): How to customize the Rebase admin — building blocks, hooks and places, with tested recipes for singletons, per-user settings, bulk actions, calendar views, dashboards and custom login screens. - [Panels in a page of your own](https://rebase.pro/docs/frontend/panels.md): Show one table, one record's form, one record or one value in a page of your own: CollectionPanel, RecordForm, RecordDetail, FieldValue and CollectionsProvider, with no admin shell around them. - [Extending Rebase](https://rebase.pro/docs/frontend/extending.md): A decision guide for choosing the right extension mechanism — plugins, slots, component overrides, entity views, actions, and more. - [Theming & Branding](https://rebase.pro/docs/frontend/theming.md): Put your brand on the admin — colour, fonts, corners, surfaces, light and dark mode, logo and sign-in screen — by overriding a handful of CSS tokens, not by rewriting components. - [Styling Custom UI](https://rebase.pro/docs/frontend/styling.md): Build custom views, home pages and actions out of the same components and theme tokens as the rest of the admin, so they look native and follow the theme. - [Translations](https://rebase.pro/docs/frontend/i18n.md): Change any string in the Rebase admin, add a language, or read the current locale from your own components. - [Component Overrides (Swizzling)](https://rebase.pro/docs/frontend/component-overrides.md): Override default UI components with custom implementations at the application or collection level. - [Authentication & Login](https://rebase.pro/docs/frontend/authentication.md): Set up the auth controller, login view, and role simulation in your Rebase React frontend. - [Storage & File Uploads](https://rebase.pro/docs/frontend/storage.md): Add file upload fields to your collections, manage files programmatically, and route uploads to different storage backends. - [View Modes](https://rebase.pro/docs/frontend/view-modes.md): Show a table's rows as a list, a spreadsheet, cards or a kanban board; choose what fills each record's title, image, status and date; and set the default sort, filters and one-click filter presets. - [Firestore beside Postgres](https://rebase.pro/docs/frontend/firebase.md): Show Firestore collections in the CMS next to your Postgres tables: defineFirestoreCollection, useFirestoreDataSource, externalCollections, and references that cross between Firestore documents and Postgres rows in both directions. - [Custom Fields](https://rebase.pro/docs/frontend/custom-fields.md): Build custom form fields for entity editing with full access to the form context, entity values, and Rebase hooks. - [Form Layout](https://rebase.pro/docs/frontend/form-layout.md): Arrange a record's form: field widths on a four-column grid, titled and collapsible sections, the metadata rail, and a component that replaces the generated form. - [Entity Views](https://rebase.pro/docs/frontend/entity-views.md): Add custom tabs and views to entity detail pages for previews, analytics, related data, or custom UI. - [Entity Actions](https://rebase.pro/docs/frontend/entity-actions.md): Add custom action buttons to entities for archiving, publishing, exporting, cloning, and more. - [Additional Columns](https://rebase.pro/docs/frontend/additional-columns.md): Add computed/virtual columns to collection tables that derive values from entity data. - [Slots](https://rebase.pro/docs/frontend/slots.md): Reference for all UI extension point slots available in Rebase — named locations where you can inject custom components. - [Data Import & Export](https://rebase.pro/docs/frontend/data-import-export.md): Import data from CSV, JSON, and Excel files into your collections, and export collection data to CSV or JSON with optional computed fields. - [Plugin System](https://rebase.pro/docs/plugins.md): Extend Rebase with plugins — inject UI components, modify collections, add toolbar actions, and create custom field builders. - [Hooks Reference](https://rebase.pro/docs/hooks.md): React hooks provided by Rebase for accessing auth, data, navigation, side panels, storage, and UI state. - [Studio Tools](https://rebase.pro/docs/studio.md): Rebase Studio provides developer tools for SQL queries, JavaScript scripting, RLS policy management, a schema diagram, and storage browsing. - [Components](https://rebase.pro/docs/ui/components.md): Components in @rebasepro/ui — the component library Rebase CMS and Rebase Studio are built from. - [Alert](https://rebase.pro/docs/ui/components/alert.md): Alert — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Autocomplete](https://rebase.pro/docs/ui/components/autocomplete.md): Autocomplete — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [AutocompleteItem](https://rebase.pro/docs/ui/components/autocompleteitem.md): AutocompleteItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Avatar](https://rebase.pro/docs/ui/components/avatar.md): Avatar — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Badge](https://rebase.pro/docs/ui/components/badge.md): Badge — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [BooleanSwitch](https://rebase.pro/docs/ui/components/booleanswitch.md): BooleanSwitch — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [BooleanSwitchWithLabel](https://rebase.pro/docs/ui/components/booleanswitchwithlabel.md): BooleanSwitchWithLabel — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Button](https://rebase.pro/docs/ui/components/button.md): Button — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Card](https://rebase.pro/docs/ui/components/card.md): Card — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [CenteredView](https://rebase.pro/docs/ui/components/centeredview.md): CenteredView — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Checkbox](https://rebase.pro/docs/ui/components/checkbox.md): Checkbox — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Chip](https://rebase.pro/docs/ui/components/chip.md): Chip — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [CircularProgress](https://rebase.pro/docs/ui/components/circularprogress.md): CircularProgress — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [CircularProgressCenter](https://rebase.pro/docs/ui/components/circularprogresscenter.md): CircularProgressCenter — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Collapse](https://rebase.pro/docs/ui/components/collapse.md): Collapse — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [ColorPicker](https://rebase.pro/docs/ui/components/colorpicker.md): ColorPicker — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Container](https://rebase.pro/docs/ui/components/container.md): Container — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [DateTimeField](https://rebase.pro/docs/ui/components/datetimefield.md): DateTimeField — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [DebouncedTextField](https://rebase.pro/docs/ui/components/debouncedtextfield.md): DebouncedTextField — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Dialog](https://rebase.pro/docs/ui/components/dialog.md): Dialog — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [DialogActions](https://rebase.pro/docs/ui/components/dialogactions.md): DialogActions — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [DialogContent](https://rebase.pro/docs/ui/components/dialogcontent.md): DialogContent — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [DialogTitle](https://rebase.pro/docs/ui/components/dialogtitle.md): DialogTitle — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [ErrorBoundary](https://rebase.pro/docs/ui/components/errorboundary.md): ErrorBoundary — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [ExpandablePanel](https://rebase.pro/docs/ui/components/expandablepanel.md): ExpandablePanel — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [FileUpload](https://rebase.pro/docs/ui/components/fileupload.md): FileUpload — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [FilterChip](https://rebase.pro/docs/ui/components/filterchip.md): FilterChip — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [IconButton](https://rebase.pro/docs/ui/components/iconbutton.md): IconButton — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [InfoLabel](https://rebase.pro/docs/ui/components/infolabel.md): InfoLabel — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [InputLabel](https://rebase.pro/docs/ui/components/inputlabel.md): InputLabel — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Label](https://rebase.pro/docs/ui/components/label.md): Label — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [LoadingButton](https://rebase.pro/docs/ui/components/loadingbutton.md): LoadingButton — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Markdown](https://rebase.pro/docs/ui/components/markdown.md): Markdown — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Menu](https://rebase.pro/docs/ui/components/menu.md): Menu — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Menubar](https://rebase.pro/docs/ui/components/menubar.md): Menubar — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarCheckboxItem](https://rebase.pro/docs/ui/components/menubarcheckboxitem.md): MenubarCheckboxItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarContent](https://rebase.pro/docs/ui/components/menubarcontent.md): MenubarContent — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarItem](https://rebase.pro/docs/ui/components/menubaritem.md): MenubarItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarItemIndicator](https://rebase.pro/docs/ui/components/menubaritemindicator.md): MenubarItemIndicator — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarMenu](https://rebase.pro/docs/ui/components/menubarmenu.md): MenubarMenu — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarPortal](https://rebase.pro/docs/ui/components/menubarportal.md): MenubarPortal — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarRadioGroup](https://rebase.pro/docs/ui/components/menubarradiogroup.md): MenubarRadioGroup — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarRadioItem](https://rebase.pro/docs/ui/components/menubarradioitem.md): MenubarRadioItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarSeparator](https://rebase.pro/docs/ui/components/menubarseparator.md): MenubarSeparator — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarShortcut](https://rebase.pro/docs/ui/components/menubarshortcut.md): MenubarShortcut — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarSub](https://rebase.pro/docs/ui/components/menubarsub.md): MenubarSub — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarSubContent](https://rebase.pro/docs/ui/components/menubarsubcontent.md): MenubarSubContent — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarSubTrigger](https://rebase.pro/docs/ui/components/menubarsubtrigger.md): MenubarSubTrigger — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarSubTriggerIndicator](https://rebase.pro/docs/ui/components/menubarsubtriggerindicator.md): MenubarSubTriggerIndicator — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenubarTrigger](https://rebase.pro/docs/ui/components/menubartrigger.md): MenubarTrigger — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MenuItem](https://rebase.pro/docs/ui/components/menuitem.md): MenuItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MultiSelect](https://rebase.pro/docs/ui/components/multiselect.md): MultiSelect — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [MultiSelectItem](https://rebase.pro/docs/ui/components/multiselectitem.md): MultiSelectItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Paper](https://rebase.pro/docs/ui/components/paper.md): Paper — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Popover](https://rebase.pro/docs/ui/components/popover.md): Popover — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [PopoverPrimitive](https://rebase.pro/docs/ui/components/popoverprimitive.md): PopoverPrimitive — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Portal](https://rebase.pro/docs/ui/components/portal.md): Portal — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [PortalContainerProvider](https://rebase.pro/docs/ui/components/portalcontainerprovider.md): PortalContainerProvider — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [RadioGroup](https://rebase.pro/docs/ui/components/radiogroup.md): RadioGroup — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [RadioGroupItem](https://rebase.pro/docs/ui/components/radiogroupitem.md): RadioGroupItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [ResizablePanels](https://rebase.pro/docs/ui/components/resizablepanels.md): ResizablePanels — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [SearchBar](https://rebase.pro/docs/ui/components/searchbar.md): SearchBar — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Select](https://rebase.pro/docs/ui/components/select.md): Select — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [SelectGroup](https://rebase.pro/docs/ui/components/selectgroup.md): SelectGroup — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [SelectItem](https://rebase.pro/docs/ui/components/selectitem.md): SelectItem — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Separator](https://rebase.pro/docs/ui/components/separator.md): Separator — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Sheet](https://rebase.pro/docs/ui/components/sheet.md): Sheet — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Skeleton](https://rebase.pro/docs/ui/components/skeleton.md): Skeleton — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Slider](https://rebase.pro/docs/ui/components/slider.md): Slider — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Slot](https://rebase.pro/docs/ui/components/slot.md): Slot — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [SplitView](https://rebase.pro/docs/ui/components/splitview.md): SplitView — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Tab](https://rebase.pro/docs/ui/components/tab.md): Tab — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Table](https://rebase.pro/docs/ui/components/table.md): Table — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TableBody](https://rebase.pro/docs/ui/components/tablebody.md): TableBody — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TableCell](https://rebase.pro/docs/ui/components/tablecell.md): TableCell — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TableHeader](https://rebase.pro/docs/ui/components/tableheader.md): TableHeader — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TableRow](https://rebase.pro/docs/ui/components/tablerow.md): TableRow — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Tabs](https://rebase.pro/docs/ui/components/tabs.md): Tabs — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TextareaAutosize](https://rebase.pro/docs/ui/components/textareaautosize.md): TextareaAutosize — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TextField](https://rebase.pro/docs/ui/components/textfield.md): TextField — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [ToggleButtonGroup](https://rebase.pro/docs/ui/components/togglebuttongroup.md): ToggleButtonGroup — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Tooltip](https://rebase.pro/docs/ui/components/tooltip.md): Tooltip — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [TooltipProvider](https://rebase.pro/docs/ui/components/tooltipprovider.md): TooltipProvider — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Typography](https://rebase.pro/docs/ui/components/typography.md): Typography — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [VirtualTable](https://rebase.pro/docs/ui/components/virtualtable.md): VirtualTable — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [VirtualTableSelectionProvider](https://rebase.pro/docs/ui/components/virtualtableselectionprovider.md): VirtualTableSelectionProvider — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Data views](https://rebase.pro/docs/ui/data-views.md): Data views in @rebasepro/ui — the component library Rebase CMS and Rebase Studio are built from. - [CardView](https://rebase.pro/docs/ui/data-views/cardview.md): CardView — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [CollectionView](https://rebase.pro/docs/ui/data-views/collectionview.md): CollectionView — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [KanbanView](https://rebase.pro/docs/ui/data-views/kanbanview.md): KanbanView — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [ListView](https://rebase.pro/docs/ui/data-views/listview.md): ListView — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Table field editors](https://rebase.pro/docs/ui/field-editors.md): Table field editors in @rebasepro/ui — the component library Rebase CMS and Rebase Studio are built from. - [VirtualTableDateField](https://rebase.pro/docs/ui/field-editors/virtualtabledatefield.md): VirtualTableDateField — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [VirtualTableInput](https://rebase.pro/docs/ui/field-editors/virtualtableinput.md): VirtualTableInput — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [VirtualTableNumberInput](https://rebase.pro/docs/ui/field-editors/virtualtablenumberinput.md): VirtualTableNumberInput — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [VirtualTableSelect](https://rebase.pro/docs/ui/field-editors/virtualtableselect.md): VirtualTableSelect — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [VirtualTableSwitch](https://rebase.pro/docs/ui/field-editors/virtualtableswitch.md): VirtualTableSwitch — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Icons](https://rebase.pro/docs/ui/icons.md): Icons in @rebasepro/ui — the component library Rebase CMS and Rebase Studio are built from. - [GitHubIcon](https://rebase.pro/docs/ui/icons/githubicon.md): GitHubIcon — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [HandleIcon](https://rebase.pro/docs/ui/icons/handleicon.md): HandleIcon — a component from @rebasepro/ui, the library Rebase CMS and Rebase Studio are built from. - [Typed SDK — Getting Started](https://rebase.pro/docs/sdk.md): Install and configure the Rebase typed SDK to interact with your backend from any JavaScript or TypeScript application. - [Querying Data](https://rebase.pro/docs/sdk/querying.md): CRUD operations, fluent query builder, filter operators, sorting, column selection and aggregates with the Rebase typed SDK. - [Pagination](https://rebase.pro/docs/sdk/pagination.md): Page a table with limit/offset, page numbers, or a keyset cursor — and when each one stops being correct. - [Writing data](https://rebase.pro/docs/sdk/writing.md): create, upsert, update and delete with the SDK — field operations, conditional writes, idempotency keys, batch writes, and writing across tables in one transaction. - [Aggregates and search](https://rebase.pro/docs/sdk/aggregates-and-search.md): Count, sum and group with the SDK, filter inside JSON columns, and run full-text and vector search from the client. - [Querying relations](https://rebase.pro/docs/sdk/relations.md): Include related entities in a query, and read a child table through its parent with the SDK's relation accessors. - [Authentication](https://rebase.pro/docs/sdk/authentication.md): Client-side authentication with the Rebase SDK — email/password sign-in, OAuth providers, session management, and auth state listeners. - [Multi-Factor Authentication](https://rebase.pro/docs/sdk/multi-factor-authentication.md): TOTP factors with the Rebase SDK: enrolling one, the second step of a sign-in, recovery codes, and removing a factor. - [Your Own Auth Provider](https://rebase.pro/docs/sdk/your-own-auth-provider.md): Authenticating the Rebase SDK with a provider of your own — Clerk, Firebase Auth or an existing session — through a token getter, over HTTP and the realtime socket. - [Realtime Subscriptions](https://rebase.pro/docs/sdk/realtime.md): Subscribe to live data changes with the Rebase typed SDK using WebSocket-based realtime listeners. - [Offline & Local-First Sync](https://rebase.pro/docs/sdk/offline.md): Enable the Rebase typed SDK's local-first sync engine — a local row database, instant offline writes with rollback, and reactive live queries. - [Storage & Files](https://rebase.pro/docs/sdk/storage.md): Upload, download, list, and delete files using the Rebase typed SDK's storage module. - [AI & Agents](https://rebase.pro/docs/ai.md): What Rebase ships for AI coding assistants and autonomous agents — an MCP server, project-local agent skills, scaffolded instruction files, and the credential model that decides what an agent can actually reach. - [MCP Server](https://rebase.pro/docs/ai/mcp.md): Connect Claude Code, Cursor, Gemini CLI or any MCP client to a Rebase project — the 53 tools it exposes, the credential it authenticates with, and the loopback gate that stands between an agent and production. - [MCP tool reference](https://rebase.pro/docs/ai/mcp-tool-reference.md): Every tool the Rebase MCP server registers, by group — what each one needs and does, and which ones the loopback gate refuses against a non-local project. - [The Remote MCP Endpoint](https://rebase.pro/docs/ai/remote-mcp.md): Serve MCP from a deployed backend at /mcp, so the people who use your app can connect Claude or Cursor as themselves — OAuth with a consent screen, seventeen tools under three scopes, every call under their own row-level security. - [Connect Claude to Rebase](https://rebase.pro/docs/ai/rebase-connector.md): One MCP connector for all your Rebase projects, on Rebase Cloud or self-hosted — add it once in Claude, sign in with your Rebase account, and read, deploy and change your projects with the access you have in the console, every change confirmed first. - [Agent Skills](https://rebase.pro/docs/ai/skills.md): rebase skills install writes 24 Rebase reference skills into your repo, in the layout your AI assistant expects — Cursor, Claude Code, Windsurf, Gemini CLI and Antigravity. - [AI Instruction Files](https://rebase.pro/docs/ai/instruction-files.md): Every scaffolded Rebase project ships ai-instructions.md plus pointer files for Claude, Cursor, Windsurf, Copilot and AGENTS.md that carry the five rules assistants break most — one source of truth, many filenames. - [CLI Reference](https://rebase.pro/docs/cli.md): Rebase CLI commands for project initialization, schema generation, database migrations, and SDK generation. - [A running app](https://rebase.pro/docs/cli/project.md): CLI commands that act on a running Rebase app through its API — rows, users, cron, logs, functions, files, the RLS simulator — on rebase dev, a server you name, or a Rebase Cloud project. - [Database Commands](https://rebase.pro/docs/cli/database.md): The rebase db commands — push, generate and migrate, backups and restores, pulling a copy, the connection string, the managed development database, and branches. - [rebase cloud](https://rebase.pro/docs/cli/cloud.md): The command groups for Rebase Cloud in the CLI — auth, project link, deploys, notifications, config, organizations, databases, resources, compute, storage, clusters, billing and usage. - [Schema Generation](https://rebase.pro/docs/cli/schema.md): Generate Drizzle ORM schemas from the tables in backend/schema, create SQL migrations, introspect an existing database into defineTable files, and keep your database in sync with the Rebase CLI. - [rls-check](https://rebase.pro/docs/rls-check.md): Audit row-level security on any PostgreSQL database — Supabase, Neon, RDS, or your own server. Read-only, no signup, no Rebase required. - [Architecture Overview](https://rebase.pro/docs/architecture.md): Understand how Rebase's backend, frontend, typed SDK, and database integrate to form a complete Backend-as-a-Service. - [Schema as Code](https://rebase.pro/docs/architecture/schema-as-code.md): How Rebase uses the TypeScript tables in backend/schema as the single source of truth for your database schema, API, SDK and admin panel. - [Runtime and Bundles](https://rebase.pro/docs/architecture/runtime-and-bundles.md): How a Rebase project separates into a project bundle and a versioned runtime, and why that separation is what makes upgrades, multi-repo apps and managed hosting possible. - [Apps and Repositories](https://rebase.pro/docs/architecture/apps-and-repositories.md): A project is a backend plus the apps that talk to it, which can each live in their own repository. - [Redirects and clean URLs](https://rebase.pro/docs/architecture/redirects-and-clean-urls.md): A static app in rebase.json can answer requests with redirects (Vercel-style :param matching, host, negated host and query conditions) and serve x.html at /x with cleanUrls. - [Deployment](https://rebase.pro/docs/deployment.md): Where a Rebase project can run — Rebase Cloud, your own server, Kubernetes, or a managed container platform — and which guide to open for each. - [Deployment](https://rebase.pro/docs/getting-started/deployment.md): Deploy your Rebase project to production using Docker, cloud platforms, or manual setups. - [Rebase Cloud](https://rebase.pro/docs/deployment/cloud.md): Rebase Cloud is the same Rebase, operated for you. What it is, how a project links and deploys, and what the private beta does not include yet. - [What the Rebase Cloud beta does not include](https://rebase.pro/docs/deployment/cloud-beta-limits.md): What Rebase Cloud's private beta does not do yet — regions, self-serve access, an SLA, branch deploys, machine identities, a public database endpoint — and what deploying with production secrets means. - [CI, Agents and Claimable Backends](https://rebase.pro/docs/deployment/cloud-agents.md): Deploy to Rebase Cloud from CI or an agent with a scoped token instead of a password, and let an agent provision a live backend with no account that a person claims later. - [Cloud Notifications](https://rebase.pro/docs/deployment/cloud-notifications.md): How Rebase Cloud tells people when a deploy fails, backups stop, a payment is declined or usage passes 80% — signed webhooks to Slack, Discord or any URL, and per-person email. - [Managed backend runtime](https://rebase.pro/docs/deployment/managed-runtime.md): What a backend with runtime "managed" can and cannot do on Rebase Cloud — packages and binaries, memory and CPU, timeouts and body sizes, the filesystem, in-memory state, secrets, storage for generated files, and outbound network. - [Rebase Storage](https://rebase.pro/docs/deployment/rebase-storage.md): S3-compatible object storage in Rebase Cloud: the endpoint, buckets and keys, the S3 operations it supports, limits, pricing, where the data is stored, and how to connect aws-cli, rclone, boto3 and the AWS SDK for JavaScript. - [Self-Hosting](https://rebase.pro/docs/deployment/self-hosting.md): Run Rebase anywhere with the official runtime image and your project bundle — Docker Compose, Fly, Railway, or a plain VPS. - [Connection pooling](https://rebase.pro/docs/deployment/connection-pooling.md): The pgbouncer service the self-hosted compose file ships for callers that cannot hold a connection, and what transaction pooling stops working through its port. - [Splitting into several processes](https://rebase.pro/docs/deployment/split-processes.md): Run one bundle as several cooperating processes — an API, a functions tier, a worker — from the same published runtime image, so a heavy custom function stops competing with the data API. - [Running more than one instance](https://rebase.pro/docs/deployment/multiple-instances.md): Every piece of state a Rebase process keeps to itself, and the setting that shares it — what to set before a second replica, a rolling deploy or a split deployment takes traffic. - [Running on an existing or shared database](https://rebase.pro/docs/deployment/existing-database.md): Run Rebase on a PostgreSQL database it does not own — a cluster shared with other apps, a second Rebase project, Supabase, or a database a DBA locks down — with the rls settings, rebase doctor --database and rebase db request-role migrate. - [Backups and restore](https://rebase.pro/docs/deployment/backups.md): Take, schedule, list and restore database backups with pg_dump — what a backup contains, the roles file that travels with it, and the one thing it does not cover, your uploaded files. - [Kubernetes](https://rebase.pro/docs/deployment/kubernetes.md): Deploy Rebase to a Kubernetes cluster with the official Helm chart — one Deployment or several, a migration Job that owns the schema, and static apps on the same host. - [Deploying Rebase on AWS](https://rebase.pro/docs/deployment/aws.md): Deploy your Rebase instance securely on Amazon Web Services utilizing RDS and AWS App Runner with a strong European focus. - [Deploying Rebase on Google Cloud Platform](https://rebase.pro/docs/deployment/gcp.md): Deploy your Rebase instance securely on GCP using Cloud SQL and Cloud Run, focusing on EU data center regions. - [Deploying Rebase on Microsoft Azure](https://rebase.pro/docs/deployment/azure.md): Deploy your Rebase instance securely on Azure using Azure Database for PostgreSQL and Azure Container Apps. - [Deploying Rebase on Hetzner Cloud](https://rebase.pro/docs/deployment/hetzner.md): Deploy a Rebase project on one Hetzner Cloud server with its own Docker Compose file and Caddy for HTTPS, or provision it with Terraform, for EU-based hosting. - [Deploying Rebase on Scaleway](https://rebase.pro/docs/deployment/scaleway.md): Learn how to deploy Rebase on Scaleway for secure, French-based cloud infrastructure using Serverless Containers. - [Deploying Rebase on Railway](https://rebase.pro/docs/deployment/railway.md): Deploy Rebase on Railway from the published runtime image and your project bundle. Maintain EU focus. - [Deploying Rebase on Fly.io](https://rebase.pro/docs/deployment/flyio.md): Learn how to deploy Rebase globally or restrict it to European data centers using Fly.io. - [Deploying Rebase on InstaPods](https://rebase.pro/docs/deployment/instapods.md): Take a fresh rebase init project to a live HTTPS URL on one InstaPods pod — Node, PostgreSQL and file uploads on the same machine, no Docker. - [Deploying Rebase on Hostman](https://rebase.pro/docs/deployment/hostman.md): Deploy a rebase init project on Hostman — App Platform with Managed PostgreSQL and S3 storage, or one cloud server with your project's own Compose file. - [Deploying Rebase on Out Plane](https://rebase.pro/docs/deployment/outplane.md): Deploy a rebase init project on Out Plane — one app built from your repository, Out Plane's managed PostgreSQL, and file uploads in an Out Plane bucket. - [Recipe: Blog CMS](https://rebase.pro/docs/recipes/blog-cms.md): Build a complete blog CMS with articles, authors, categories, rich text editing, and image uploads — tables in backend/schema, presentation in frontend/src/cms. - [Recipe: Editorial publishing](https://rebase.pro/docs/recipes/editorial-publishing.md): Run a blog or newsroom on Rebase: writers and editors, review, scheduled publishing, drafts of live posts, previews, translations, a media library, content blocks, feeds, editorial notes and a WordPress import. - [Recipe: Importing from WordPress](https://rebase.pro/docs/recipes/import-from-wordpress.md): Move posts from WordPress into Rebase with a script that reads the WordPress REST API and upserts each post by slug, so it can run again safely. - [Recipe: Migrating from Supabase](https://rebase.pro/docs/recipes/migrate-from-supabase.md): Move a Supabase project to Rebase: introspect the schema, apply the SQL objects that are not tables, copy the data keeping user ids, port edge functions, and deploy, all from the CLI. - [Recipe: Custom Dashboard](https://rebase.pro/docs/recipes/custom-dashboard.md): Build a dashboard page with KPI tiles and charts — numbers computed in SQL, drawn with the blocks from @rebasepro/ui. - [Recipe: Webhook Integration](https://rebase.pro/docs/recipes/webhooks.md): Use table hooks to send webhooks to external services when data changes, without holding the write's transaction open. ## Optional - [sitemap.md](https://rebase.pro/sitemap.md): Every page on the site, as markdown.