The open source Firebase alternative.

Supabase adds realtime and restful APIs to Postgres without a single line of code.

Query your PostgreSQL database and listen in real-time.
const messages = supabase
.from('messages')
.select(`
id, text,
user ( id, name )
`)
const newMessages = supabase
.from('messages')
.on('INSERT', message => console.log('New message!', message) )
.subscribe()
Y Combinator

Backed by Y Combinator.

How it works

Supabase helps you build faster, so you can focus on your core products.

Database replication

Built with PostgreSQL

Sign up and query your Postgres database in less than 2 minutes.
You get
✔Full Postgres database
✔Instant RESTful API
✔Realtime notifications via websockets
Supabase

Supabase handles the magic

Supabase handles the stuff you're usually too busy to build.
You get
✔APIs always in sync with your schema
✔Custom API docs for your schema
✔Built-in security & monitoring
Client libraries

Build realtime applications

Supabase provides libraries and examples to get you started.
Build
✔Auto-updating dashboards
✔IoT applications
✔Realtime chat apps

For Developers

We introspect your database and provide APIs instantly so you can stop building repetitive CRUD APIs and focus on building your products.

Get all public rooms and their messages
import { createClient } from '@supabase/supabase-js'
// Initialize
const supabaseUrl = 'https://chat-room.supabase.co'
const supabaseKey = '1a2b-3c4d-5e6f-7g8h'
const supabase = createClient(supabaseUrl, supabaseKey)
// Get public rooms and their messages
const publicRooms = await supabase
.from('rooms')
.eq('public', true)
.select(`
name,
messages ( text )
`)

Self-documenting

We introspect your database to give you instant, custom documentation for your REST and Realtime APIs.

Self-documenting dashboards