Skip to main content
Supabase is an open source Firebase alternative that provides all the backend services you need to build a product. The platform combines enterprise-grade open source tools to give developers a complete backend-as-a-service solution.

What is Supabase?

Supabase is the Postgres development platform. We’re building the features of Firebase using enterprise-grade open source tools. If the tools and communities exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool.

Hosted Postgres Database

Production-ready Postgres database with automatic backups and point-in-time recovery

Authentication

Complete user management with support for email, OAuth providers, and magic links

Auto-generated APIs

Instant REST and GraphQL APIs that automatically reflect your database schema

Realtime Subscriptions

Listen to database changes in real-time using websockets

Storage

Store and serve large files with built-in image transformations

Edge Functions

Deploy serverless TypeScript functions close to your users

Platform Architecture

Supabase combines several open source tools into a unified platform:

Core Components

Object-relational database system with over 30 years of active development. Supabase runs Postgres with useful extensions like pgvector for AI/ML workloads, pg_cron for scheduled jobs, and PostGIS for geospatial data.
Cloud-native API gateway that handles routing, authentication, and rate limiting for all Supabase services.
JWT-based authentication service that handles user sign-ups, logins, password resets, and OAuth integrations.
Web server that automatically generates a RESTful API from your PostgreSQL database schema. No backend code required.
Elixir server that listens to PostgreSQL replication logs and broadcasts database changes over websockets to subscribed clients.
RESTful interface for managing files in S3-compatible storage, with Postgres handling permissions and access control.
Deno-based runtime for deploying serverless TypeScript, JavaScript, and WASM functions at the edge.
Web-based dashboard for managing your database, viewing logs, running SQL queries, and configuring authentication providers.

Platform Features

Database

  • Full Postgres power with extensions
  • Automatic migrations tracking
  • Point-in-time recovery
  • Database backups
  • Connection pooling via Supavisor

Authentication

  • Email & password authentication
  • Magic link (passwordless) login
  • OAuth providers (Google, GitHub, Azure, etc.)
  • Phone authentication with SMS
  • Multi-factor authentication (MFA)
  • Row Level Security policies

Auto-generated APIs

  • RESTful API via PostgREST
  • GraphQL API via pg_graphql
  • Real-time subscriptions
  • Automatic OpenAPI documentation

Storage

  • S3-compatible object storage
  • Image transformations via imgproxy
  • Resumable uploads
  • Access control via RLS
  • CDN integration

Edge Functions

  • Deploy TypeScript/JavaScript functions
  • Run Deno runtime at the edge
  • Access to npm packages
  • Database and storage access
  • Scheduled function execution

Observability

  • Real-time logs via Logflare
  • Performance monitoring
  • Query analytics
  • Error tracking
  • Custom log drains

Deployment Options

Supabase Cloud

Fully managed platform with automatic updates, backups, and scaling

Self-Hosted

Deploy on your own infrastructure using Docker Compose

Getting Started

1

Create a Project

Sign up for Supabase and create your first project. Choose your database region and set a strong database password.
2

Design Your Schema

Use the Table Editor or SQL Editor to create your database tables and relationships.
3

Enable Authentication

Configure authentication providers and set up Row Level Security policies to protect your data.
4

Connect Your App

Install the Supabase client library and connect your frontend application.

Client Libraries

Supabase provides official client libraries for popular platforms: Community libraries are available for C#, Go, Java, Kotlin, Ruby, and more.

Next Steps

Projects

Learn about project management and configuration

Organizations

Manage teams and access control

Billing

Understand pricing and usage

Quickstart

Build your first app with Supabase