TL;DR — Quick Summary

Deploy Supabase self-hosted — open-source Firebase alternative with PostgreSQL, REST/GraphQL APIs, auth, storage, and real-time subscriptions.

Supabase — Self-Hosted Firebase

git clone https://github.com/supabase/supabase
cd supabase/docker
cp .env.example .env  # Edit secrets!
docker compose up -d

Components

Service Purpose
PostgreSQL Main database
PostgREST Auto REST API from DB schema
GoTrue Auth (email, OAuth, magic link)
Realtime WebSocket subscriptions
Storage S3-compatible file storage
Edge Functions Deno serverless functions
Studio Web-based admin dashboard
Kong API gateway