
Supabase
Supabase is an open source Firebase alternative. Start your project with a Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, Storage, and Vector embeddings.

Supabase Docs
Learn how to get up and running with Supabase through tutorials, APIs and platform resources.
PostgreSQL Docs
The world's most advanced open source relational database.

Supabase Documentation
Learn how to get up and running with Supabase through tutorials, APIs and platform resources.

Managing User Data

Row Level Security - Helper Functions
Supabase provides some helper functions that make it easier to write Policies.

Implement Authorization using Row Level Security
Implement some common policies using the Supabase Dashboard and see how rules across multiple tables can work together to restrict access. PostgreSQL provides a simple syntax for RLS, allowing access rules to be declared in the Database itself. This can make queries more efficient as the client can query the Database directly, without the need for a middleware API.

Column Level Security

Cascade Deletes

How can I insert un-exist record and skip exist record in Supabase?

Upsert data

Supabase query with multiple foreign table queries (!inner) not returning any rows

How to run custom SQL queries using functions in Supabase

Create PostgreSQL Functions with Supabase

Call a Postgres function

Call Postgres functions from JavaScript with RPC

Using referer header for enhanced security

What is the best way to access all users from the auth.users table?

Hacking the PostgREST Headers: Oh, the Things You Can Do!