The backend · and the panel, if you want one

One definition.
Everything it produces.

Rebase turns a Postgres database into a product backend — REST, a typed SDK, realtime, auth, storage and access control the database itself enforces. The admin panel renders from the same file, and only if you ask for it.

What the definition produces

Both layers come out of the same file.

Un único archivo TypeScript por colección es toda la entrada necesaria. El esquema de base de datos, la API REST, el SDK tipado, los formularios y cada vista de administración se generan a partir de él — y evolucionan con él.

What the definition produces
Código de la app — products.ts
import type { PostgresCollectionConfig }
  from "@rebasepro/types";

export const products: PostgresCollectionConfig = {
  name: "Products",
  slug: "products",
  table: "products",
  properties: {
    name: {
      name: "Name",
      type: "string",
      validation: { required: true },
    },
    category: {
      name: "Category",
      type: "string",
      enum: {
        electronics: "Electronics",
        fashion: "Fashion",
        home: "Home & Garden",
      },
    },
    price:     { name: "Price", type: "number" },
    in_stock:  { name: "In Stock", type: "boolean" },
    image_url: { name: "Image", type: "string", url: true },
  },
};

→ genera Vistas de Admin · formularios · esquema de BD · API REST · SDK Tipado

Act one

The half that runs without a browser

A Rebase project is a Hono server and a Drizzle schema. It serves your data over REST, streams changes over WebSocket, issues and rotates tokens, stores files, runs your scheduled jobs, and publishes an OpenAPI document that is always current because nobody writes it.

Every one of those requests executes as a restricted Postgres role. That is the part worth reading twice: authorization is a property of your database, not of this process.

What you stop maintaining

  • CRUD controllers, serializers and request validation
  • A hand-rolled admin UI, and the sprint it costs every quarter
  • JWT plumbing, refresh rotation and password-reset email
  • Permission checks scattered across route handlers
  • File-upload endpoints and signed-URL helpers
  • A cron runner, a webhook dispatcher and an audit-log table
  • The OpenAPI document nobody remembered to update
  • A second data model, kept in sync with the first by hand

Tu flujo de trabajo

Diseñado para tu
forma de trabajar

No es otra herramienta que aprender — Rebase funciona con tu base de datos existente y tu flujo de trabajo actual.

Cada vista. Cero código.

SQL de primera clase

Editor visual, TypeScript real

Flexibilidad Infinita

Un framework visual para cualquier caso de uso.

Desde e-commerce y gestión de activos hasta builders visuales y edición de código en vivo. La UI schema-driven de Rebase se adapta a cualquier dashboard o editor.

The whole product

Everything Rebase ships, on one screen

The left column runs with nothing else installed. The right column is one dependency away, and deleting it does not move a single API response.

Layer 01

The backend

always on
  • REST API/api/data/:collection

    CRUD, filtering, sorting, pagination, relations

  • Typed SDK@rebasepro/client

    Generated from your collections, checked at compile time

  • Realtimelisten()

    Row subscriptions, channels and presence over WebSocket

  • Auth/api/auth/*

    JWT access and refresh, OAuth, MFA, roles, API keys

  • Storage/api/storage/*

    Local, S3-compatible or GCS, routed per field

  • Functions & cronfunctions/

    Your own Hono routes and scheduled jobs, auto-mounted

  • Row-level securitysecurityRules

    Policies compiled into Postgres — closed by default

  • OpenAPI/api/docs

    A spec and an explorer, regenerated with the schema

Layer 02

The admin panel

opt in
  • Collection viewsenabledViews

    Table, cards, list and Kanban over the same rows

  • Entity formsproperties

    Generated from properties, with validation and relations

  • Your Reactadmin.Field

    Custom fields, previews, views and entity actions

  • Users & rolesRBAC

    The same roles your policies read, managed by humans

  • Studio/studio

    SQL editor, schema builder, policy editor, branches, logs

The panel is a React app that talks to the endpoints on the left, under the same row-level security as your own client. There is no private back channel for data.

Start with whichever half you need

Scaffold a project in one command, or poke at a running one first.

~pnpm dlx @rebasepro/cli init