Supabase

Philosophy I Like


Security

Platform

  • Ability to give permissions to specific projects within an overarching organizational account (aka, platform access control).

Authentication

  • Called Supabase Auth (formerly GoAuth).
  • Supports using other auth providers like Auth0, AWS Cognito, and Firebase Auth.
  • Supports MFA through App Authenticators, SMS, and WhatsApp.
  • Supports anonymous sign-ins.

Secrets Management

  • Supabase Vault allows managing secrets and encryption, uses pgsodium.

Additional Resources


Database

  • Uses Postgres under the hood, Supabase is Postgres-centric and does everything possible within Postgres.
  • Scalable using read replicas.
  • Integration with FerretDB allows one to use MongoDB-like functionality/querying.
    • Appears this may require separate hosting of FerretDB?
  • Point-in-Time Recovery (PITR) is available to Pro and Enterprise customers.

Additional Resources


API


Storage

  • Supports basic (standard) upload, resumable uploads, and is S3 compatible.

Additional Resources


Edge Functions

  • “Edge Functions in Supabase are serverless functions that execute in response to HTTP requests. These functions are deployed at the edge, meaning they run close to the user’s location, resulting in faster response times.”(1)

Additional Resources


Queues

  • Built on the pgmq extension.
  • Supports granular authorization with API permissions and Row Level Security (RLS) policies.
  • Guaranteed message delivery, exactly once message delivery.
  • Queue management and monitoring (via Supabase Dashboard)
  • Messages are durably stored in Postgres and can be kept for archival purposes.

Additional Resources


Realtime

  • Supports RLS for Broadcast and Presence.
  • Broadcast – allows sending ephemeral, low-latency messages between users
  • Presence – Shows when users are online and shares state between users
  • Postgres Changes – Lists for changes in the Postgres DB.

Additional Resources


Cron / Recurring Jobs

  • Built on the pg_cron extension (Citus Data).
  • Can run SQL snippets, call db functions, Supabase Edge Functions, and third party (remote) webhooks.

Additional Resources


CLI

Additional Resources


AI Assistant

  • Can assist in schema design, writing queries, debugging db errors, converting natural language queries, converting SQL queries to JS client library REST calls, creating RLS policies, creating/updating functions and triggers,

Additional Resources


Offline / Local First

  • Something will go here eventually.

Search

Vector

  • Hierarchical Navigable Small World (HNSW) – algorithm for approximate nearest neighbor search.

Additional Resources

Language / Framework Specific Resources

General

Flutter

Ruby on Rails

PHP

Offline / Local First

Flutter

React


Other Resources

Integrations

Utilities

Other Features

  • Content Delivery Network (CDN)

Log Drains

  • Note that these are not available with free or pro accounts but they are available for self-hosted.
  • Introducing Log Drains (official blog, 8/2024)

Reviews

Versioning