realtime postgres.

Supabase adds realtime and RESTful APIs to your existing PostgreSQL database without a single line of code.

Get notified of all new records in your database
import { createClient } from '@supabase/supabase-js'
// Connect to your own PostgreSQL database
const supabase = createClient('https://your-db.supabase.co', 'api-key')
// Receive updates when a new record is inserted into your database
const realtime = supabase
.from('*')
.on('INSERT', change => {
console.log('Change received!', change)
})
.subscribe()

For Developers

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

Receive realtime messages in an example chat room
import { createClient } from '@supabase/supabase-js'
// Connect to the chat room
const supabase = createClient('https://chat-room.supabase.co', '1a2b-3c4d-5e6f-7g8h')
// Get notified of all new chat messages
const realtime = supabase
.from('messages')
.on('INSERT', message => {
console.log('New message!', message)
})
.subscribe()