Realtimesync in milliseconds
Sync client state globally over WebSockets. Listen to database changes, store user presence, and broadcast messages to all connected clients.
Three ways
to go realtime
Database changes, presence tracking, and broadcast messaging — everything you need to build collaborative, real-time applications.
idint8 | usertext | texttext |
|---|
Database changes
Listen to inserts, updates, and deletes in your Postgres database and react instantly.
Presence
Store and synchronize online user state consistently across all connected clients.
Broadcast
Send any data to any client subscribed to the same channel with low latency.
Supabase takes out the mental effort from our back-end infrastructure so we can focus on our customers needs.
Simple and convenient
APIs
APIs that you can understand. With powerful libraries that work on client and server-side applications.
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('URL', 'ANON_KEY')
const channel = supabase
.channel('db-changes')
.on('postgres_changes', {
event: 'INSERT',
schema: 'public',
table: 'messages',
}, (payload) => {
console.log('New message:', payload.new)
})
.subscribe()import { createClient } from '@supabase/supabase-js'
const supabase = createClient('URL', 'ANON_KEY')
const channel = supabase
.channel('db-changes')
.on('postgres_changes', {
event: 'INSERT',
schema: 'public',
table: 'messages',
}, (payload) => {
console.log('New message:', payload.new)
})
.subscribe()Kickstart your next project
with production ready templates
View all examplesStripe Subscriptions Starter
The all-in-one subscription starter kit for high-performance SaaS applications, powered by Stripe, Supabase, and Vercel.
Next.js Starter
A Next.js App Router template configured with cookie-based auth using Supabase, TypeScript and Tailwind CSS.
AI Chatbot
An open-source AI chatbot app template built with Next.js, the Vercel AI SDK, OpenAI, and Supabase.
LangChain + Next.js Starter
Starter template and example use-cases for LangChain projects in Next.js, including chat, agents, and retrieval.
Flutter User Management
Get started with Supabase and Flutter by building a user management app with auth, file storage, and database.
Expo React Native Starter
An extended version of create-t3-turbo implementing authentication on both the web and mobile applications.