Data & AI Infrastructure
Supabase
Build an application backend with Postgres, authentication, file storage, and APIs.
- G2 rating
- Pricing
- Free
- $0/month
- Pro
- From $25/month at the time checked
- Best for
- A developer needing Postgres and common backend services without building them all from scratch.
Video tutorial
Getting Started with Supabase Database · Supabase · Watch on YouTube ↗
What is Supabase?
Supabase provides a management layer and application services around Postgres. Use SQL to inspect the data model while trying the client API and authentication. Its value is easiest to judge by building one authenticated query and verifying that the database enforces what different users can access.
Think about row access from the user’s credentials. A screen filter can organize data, but it does not establish a permission boundary.
Set up and test a real workflow
Create a disposable Postgres table called notes with id, owner_id, and body. Make owner_id a UUID referencing an authenticated user's ID. Enable Row Level Security and add select and insert policies for authenticated users that match auth.uid() to owner_id. Use the publishable key with two actual test sessions to evaluate the policies. Keep privileged credentials on the server.
What to look for in the result
Sign in as Alice and save note N-1 with owner_id equal to Alice's user ID. Sign in as Ben in a separate session and verify his notes query does not return N-1. Attempt an ordinary insert from Ben with Alice's owner ID and verify the policy rejects it. Then save B-1 with Ben's own ID and verify each account can retrieve its own note after refreshing.
| Problem | What to check | What to change |
|---|---|---|
| Reads succeed in the SQL editor but an app user sees no rows | Compare the database role, session and auth.uid() used in each environment | Retest through the real authenticated client and fix the select policy or fixture ownership |
| Users can read their notes but cannot create one | Inspect the insert policy and owner_id being submitted | Add the intended WITH CHECK ownership rule and pass the signed-in owner's ID when writing |
Try it: Create a private notebook list
Set up a test table using sample owners and a reviewed row-level policy.
Create notes with title and owner_id. Seed one note for each of two test accounts. The accounts may read and edit their own notes. The interface must show an empty state for a user with no notes.
- Define the schema and policy in a test project before attaching the web app.
- Connect a client using the intended public configuration and sign in as each sample user.
- Check that queries and updates affect only the permitted rows. Confirm protected credentials stay out of browser code.
What a usable result looks like
Ownership is enforced by the database for both read and update actions.
| Check | What you might see | What to do next |
|---|---|---|
| Account A | Only A’s note is visible. | Inspect the response, not only the UI. |
| No notes | The list has a useful empty state. | Confirm sign-in still works. |
| Update | An authorized edit persists. | Verify another row was untouched. |
What to save from the trial
One migration, a seed script, and a two-account permission test.
Another scenario
Extend the app with attachments and test object-storage policies separately.
Use cases and what to check
| Use case | How to try it | What to check |
|---|---|---|
| User project list | Store projects with an owner ID. | Confirm two test accounts see only the permitted rows. |
| Document metadata | Store a record for each uploaded sample file. | Check that object storage permissions match the corresponding row. |
Which plan should you try?
| Plan | Price | Who should consider it |
|---|---|---|
| Free | $0/month | Test a small project and check listed usage caps. |
| Pro | From $25/month at the time checked | Compare production compute, project count, storage, and backup needs. |
Compare project count, compute, data transfer, and backup policy before budgeting production.
Provider pricing and access ↗ · Checked
What people say about Supabase
1 featured user review.
Connecting a Vercel site
The reviewer found the interface easy to navigate and said connecting their Vercel site was uneventful.
4.5/5 · November 4, 2026 · G2 ↗ · Paraphrased
Limits to check
Database, storage, and API permissions require separate checks as the application grows.
When to choose it
Use Supabase when you want a PostgreSQL schema with database-enforced access for browser clients. Before adding storage or subscriptions, demonstrate that normal authenticated clients can perform the intended actions and that a different account cannot read or create records under the wrong identity.
Common questions
- Where do elevated credentials belong?
- Keep privileged credentials on trusted backend services where they can be access-controlled.
- Why test two accounts?
- It detects policies that work for the right user but accidentally return another user’s records.
Community posts
-
Why a row-level DELETE policy can affect zero rows ↗
A troubleshooting discussion compares the authenticated app session with an administrative test, highlighting why the role and actual policy conditions matter when verifying expected writes.
Supabase GitHub Discussions