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, 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 / Forms / Kanban │ │
│ └──────┬───────┘ └──────────────┬────────────────┘ │
└─────────┼──────────────────────────┼─────────────────┘
│ HTTP + WebSocket │
▼ ▼
┌──────────────────────────────────────────────────────┐
│ Rebase Backend (Node.js + Hono) │
│ ┌─────────┐ ┌──────┐ ┌─────────┐ ┌───────────────┐ │
│ │ REST API│ │ Auth │ │ Storage │ │ WebSocket RT │ │
│ └────┬────┘ └──┬───┘ └────┬────┘ └──────┬────────┘ │
└───────┼─────────┼──────────┼─────────────┼───────────┘
│ │ │ │
▼ ▼ ▼ ▼
┌──────────────────────────────────────────────────────┐
│ PostgreSQL (via Drizzle ORM) │
└──────────────────────────────────────────────────────┘
npx create-rebase-app my-app
cd my-app

Configure your database in .env:

DATABASE_URL=postgresql://user:password@localhost:5432/mydb
JWT_SECRET=your-secret-key

Start everything:

pnpm dev

That’s it. Your admin panel is running at http://localhost:5173 and the API at http://localhost:3001.

→ Follow the full Quickstart guide for a complete walkthrough.

FeatureDescription
Spreadsheet ViewsFast, virtualized table with inline editing, filtering, sorting, and text search
Kanban BoardDrag-and-drop board view grouped by any enum property
RelationsOne-to-one, one-to-many, many-to-many with junction tables and multi-hop joins
Row Level SecuritySupabase-style RLS policies defined in your collection config
AuthenticationJWT + refresh tokens, Google OAuth, role-based access control
File StorageLocal filesystem or S3-compatible with upload fields and browser
Real-time SyncWebSocket-powered live updates across all connected clients
Entity HistoryFull audit trail for every create, update, and delete
REST APIAuto-generated CRUD endpoints for every collection
Data Import/ExportCSV, JSON, and Excel import with field mapping; CSV/JSON export
Collection EditorVisual schema editor that generates TypeScript via AST manipulation
Client SDKType-safe JavaScript SDK for your frontend apps
Plugin SystemExtend every part of the UI — toolbar, forms, fields, home page
AI Data EnhancementLLM-powered autocompletion for text fields