Supabase is an open-source Firebase alternative built on PostgreSQL. It provides auth, real-time subscriptions, storage, and edge functions.
Free Tier (Cloud)
- 500MB database — full PostgreSQL
- 5GB bandwidth/month
- 1GB file storage with CDN
- 50K monthly active users — auth
- 500K edge function invocations/month
- Real-time — subscribe to DB changes
Query Data (JavaScript)
import { createClient } from '@supabase/supabase-js';
const supabase = createClient(URL, KEY);
const { data } = await supabase.from('posts').select('*');
await supabase.from('posts').insert({ title: 'Hello' });
supabase.channel('posts')
.on('postgres_changes', { event: '*', schema: 'public', table: 'posts' }, console.log)
.subscribe();
Supabase vs Firebase
| Feature | Supabase | Firebase |
|---|---|---|
| Database | PostgreSQL | Firestore |
| Open source | Yes | No |
| Self-host | Yes | No |
Need backend setup? Check my work on GitHub or email spinov001@gmail.com for consulting.
Top comments (0)