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

ServicePurpose
PostgreSQLMain database
PostgRESTAuto REST API from DB schema
GoTrueAuth (email, OAuth, magic link)
RealtimeWebSocket subscriptions
StorageS3-compatible file storage
Edge FunctionsDeno serverless functions
StudioWeb-based admin dashboard
KongAPI gateway