DEV Community

Alex Spinov
Alex Spinov

Posted on

Supabase Has a Free Firebase Alternative — PostgreSQL Backend in Minutes

A solo developer needed auth, database, and file storage for his app. Firebase was easy but vendor-locked. Building from scratch would take months.

Supabase is an open-source Firebase alternative built on PostgreSQL. Auth, database, storage, edge functions, real-time subscriptions - all free to self-host.

What Supabase Offers for Free

  • PostgreSQL Database - Full Postgres with extensions
  • Authentication - Email, OAuth, magic links, phone auth
  • Auto-Generated API - Instant REST and GraphQL from your schema
  • Real-time - Subscribe to database changes via WebSocket
  • Storage - S3-compatible file storage with CDN
  • Edge Functions - Serverless Deno functions
  • Row Level Security - Fine-grained data access control
  • Dashboard - SQL editor, table editor, logs

Quick Start (Cloud Free Tier)

npm install @supabase/supabase-js
Enter fullscreen mode Exit fullscreen mode
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('YOUR_URL', 'YOUR_KEY')
const { data } = await supabase.from('posts').select('*')
Enter fullscreen mode Exit fullscreen mode

GitHub: supabase/supabase - 75K+ stars


Need to monitor and scrape data from multiple web services automatically? I build custom scraping solutions. Check out my web scraping toolkit or email me at spinov001@gmail.com for a tailored solution.

Top comments (0)