Skip to content

Introduction

Rebase is an open-source Backend-as-a-Service (BaaS) and admin panel built with React and TypeScript. It gives you everything you need to build production-ready back-office applications on top of PostgreSQL:

  • Schema as Code — Define your data models as TypeScript collections. Rebase generates PostgreSQL tables, a full CRUD UI, REST API endpoints, and type-safe client SDKs from a single source of truth.
  • Instant Admin Panel — A beautiful, fast React-based admin UI with spreadsheet tables, lists, forms, Kanban boards, inline editing, and real-time sync.
  • Integrated Backend — Authentication (JWT + Google OAuth), file storage (local or S3), Row Level Security, entity history, and WebSocket real-time — all built in.
  • Radically Extensible — If you can build it in React, you can add it to Rebase. Custom fields, custom views, plugins, and full access to internal hooks.
┌──────────────────────────────────────────────────────┐
│ Client Applications │
│ ┌──────────────┐ ┌───────────────────────────────┐ │
│ │ Your App │ │ Rebase Admin UI │ │
│ │ (Any Tech) │ │ Tables / Lists / Kanban │ │
│ └──────┬───────┘ └──────────────┬────────────────┘ │
└─────────┼──────────────────────────┼─────────────────┘
│ HTTP + WebSocket │
▼ ▼
┌──────────────────────────────────────────────────────┐
│ Rebase Backend (Node.js + Hono) │
│ ┌─────────┐ ┌──────┐ ┌─────────┐ ┌───────────────┐ │
│ │ REST API│ │ Auth │ │ Storage │ │ WebSocket RT │ │
│ └────┬────┘ └──┬───┘ └────┬────┘ └──────┬────────┘ │
└───────┼─────────┼──────────┼─────────────┼───────────┘
│ │ │ │
▼ ▼ ▼ ▼
┌──────────────────────────────────────────────────────┐
│ PostgreSQL (Drizzle ORM) │
└──────────────────────────────────────────────────────┘
pnpm dlx @rebasepro/cli init my-app
cd my-app

init generates a ready-to-run .env for you (secrets, database password, a free local port) — no editing needed to get started. Start the bundled PostgreSQL container, create the tables, then run the dev servers:

docker compose up -d db # start the database
pnpm run db:push # create tables from your collections
pnpm dev # start backend + frontend

Your admin panel is running at http://localhost:5173 and the API at http://localhost:3001. The first account you register becomes the admin.

→ Follow the full Quickstart guide for a complete walkthrough, including how to connect your own database.

Feature Description
Spreadsheet Views Fast, virtualized table with inline editing, filtering, sorting, and text search
List View Clean, responsive vertical list view for collections
Kanban Board Drag-and-drop board view grouped by any enum property
Relations One-to-one, one-to-many, many-to-many with junction tables and multi-hop joins
Row Level Security Supabase-style RLS policies defined in your collection config
Authentication JWT + refresh tokens, Google OAuth, role-based access control
File Storage Local filesystem or S3-compatible with upload fields and browser
Real-time Sync WebSocket-powered live updates across all connected clients
Entity History Full audit trail for every create, update, and delete
REST API Auto-generated CRUD endpoints for every collection
Data Import/Export CSV, JSON, and Excel import with field mapping; CSV/JSON export
Collection Editor Visual schema editor that generates TypeScript via AST manipulation
Client SDK Type-safe JavaScript SDK for your frontend apps
Plugin System Extend every part of the UI — toolbar, forms, fields, home page
AI Data Enhancement LLM-powered autocompletion for text fields
Cron Jobs Scheduled background tasks with monitoring, logging, and Studio dashboard
Custom Functions File-based Hono routes auto-mounted with auth middleware and DB access
Email Service Built-in SMTP for password reset, verification, and transactional emails
Database Branching Instant isolated copies of your database for dev, staging, or testing
Webhooks HMAC-signed outbound notifications on INSERT, UPDATE, DELETE
Broadcast Channels WebSocket channels for real-time messaging between connected clients
Presence Tracking Track online users and sync shared state across participants