Supabase
Supabase is an open-source backend platform built on Postgres. Every project gets a full Postgres database plus user authentication, auto-generated REST and GraphQL APIs, edge functions, file storage, realtime sync and vector embeddings for AI features. It suits developers, startups and AI app builders who want a production-ready backend without stitching together separate services. It is free to start, and you can self-host it.
Is Supabase right for you?
Best for: Developers, startups and AI app builders who want a production-ready Postgres backend with auth, storage, APIs and functions in one project. It fits MVPs, mobile and web apps, and RAG or chatbot features that need vector search next to regular data.
Pros
- Every project is a full, portable Postgres database with SQL and extensions
- Auto-generated REST and GraphQL APIs as soon as you create a table
- Auth integrates with Row Level Security for per-user data access
- Open source and self-hostable, which limits lock-in
- MCP server and Advisors help coding agents and catch security mistakes
Cons
- Row Level Security adds a real learning curve, and users say advanced docs can be thin
- Free projects pause after one week of inactivity, with a limit of two active projects
- Costs for compute, egress, disk and MAUs can climb quickly as apps scale
- Several features, including Cron, Database Webhooks, Auth Hooks and the Python client, are still in beta
Supabase is the most practical way we know to get a real relational backend running in an afternoon, and building on standard Postgres means your data and skills carry over if you ever leave. The trade-off comes after the quick start: RLS policies need careful thought, and usage-based billing deserves a close watch once traffic grows. It's an easy first choice for startups and AI-assisted builders, as long as someone on the team is willing to learn the database side properly.
About Supabase
Supabase is a hosted backend built around a real Postgres database, with logins, file storage, APIs and serverless functions bundled in. It solves a familiar problem. You have a front end you're excited about, and suddenly you need user accounts, a place to keep data, somewhere to put uploaded images and a few bits of server logic. Instead of wiring up five services, Supabase hands you one project where all of that already works together.
It's aimed at developers first: solo builders, startup teams, agencies and larger companies that care about compliance. It has also become a common backend for AI-assisted and "vibe-coded" apps. App builders such as Lovable run their generated apps on it, so plenty of people meet Supabase without ever choosing it on purpose. If you can write a little JavaScript, Python, Swift or Flutter, or you work with an AI coding assistant, it's well within reach.
What you actually get inside a Supabase project
A real Postgres database, not a lookalike
Every project is a dedicated Postgres instance. That matters more than it sounds. You get SQL, joins, foreign keys, extensions and decades of Postgres know-how, and your data stays portable if you ever leave. You can work in a spreadsheet-like table editor or drop into the SQL editor whenever you want full control.
Auth that ties directly into your data
Supabase Auth handles sign-ups, email logins, OAuth and OIDC providers, captcha on login forms and customizable email templates. The clever part is Row Level Security (RLS). You write Postgres policies that decide which rows each logged-in user can see or change. A notes app, for example, can let the browser query the database directly, because the database itself refuses to return anyone else's notes.
APIs you don't have to write
As soon as you create a table, Supabase exposes it through an auto-generated REST API (via PostgREST) and a GraphQL API (via pg_graphql). Official client libraries for JavaScript, Flutter, Swift and Python (in beta) wrap those APIs, so fetching data feels like calling a method rather than building endpoints.
Functions, storage, realtime and cron
Edge Functions are globally distributed TypeScript functions running on Deno. They're the place for things that shouldn't live in the browser, like calling a payment provider or an AI model with a secret key. Storage keeps large files such as images and videos, with a CDN and image transformations. Realtime pushes database changes to connected clients, which is how you build live dashboards or multiplayer features. Cron, currently in beta, schedules recurring jobs inside Postgres.
Vector search for AI features
Supabase can store, index and search vector embeddings right next to your regular data. It integrates with OpenAI and Hugging Face models and can generate embeddings automatically through triggers and queues. That makes it a sensible home for retrieval features like "search my documents by meaning" or a chatbot grounded in your own content.
Tooling around the edges
The dashboard includes security and performance Advisors that flag risky setups, plus an AI Assistant for troubleshooting. There's also a CLI for local development and migrations, branching to test schema changes away from production, daily backups, log drains and an MCP server. The MCP server lets coding agents like Cursor or Claude inspect your schema and help write migrations.
Your first hour with Supabase
- Create an account on the official Supabase website and start a new project. Pick a name, a database password (save it somewhere safe) and a region close to your users.
- Make a table in the Table Editor, or paste SQL into the SQL Editor. Add a
user_idcolumn if rows will belong to specific users. - Turn on Row Level Security for that table and add at least one policy. Without policies, RLS blocks everything, which is safer than the reverse.
- Configure Auth under the Authentication section. Email login works out of the box, and you can add OAuth providers later.
- Grab your project URL and API keys from the project settings, then install the client library for your stack (for example,
supabase-js). - Check the Advisors before you share anything. They catch tables left without RLS and other common mistakes.
A worked example: a private notes app in an afternoon
Picture a solo developer building a small notes app in React. They want people to sign up, write notes and see only their own. There's no server code beyond the front end.
They open the dashboard's AI Assistant (or ask their coding agent through the MCP server) and type:
Create a notes table with id, title, body, created_at and a user_id that references the logged-in user. Enable row level security so each user can only select, insert, update and delete their own notes.
What comes back is SQL they can review and run. The key policy looks something like this:
create policy "Users manage own notes" on notes
for all using (auth.uid() = user_id)
with check (auth.uid() = user_id);Next, they wire up email sign-up with the JavaScript client and query the notes table directly from React. They log in as two different test users to confirm each one sees only their own notes, then run the Advisors to double-check nothing is exposed. Later, adding a "search notes by meaning" feature is a matter of storing embeddings in the same database, not adopting a new service.
Other ways people put it to work
- Startup MVPs: A small team can launch auth, data and file uploads in days and move to Pro when real users arrive.
- AI chatbots and RAG apps: Store documents and their embeddings together, then call a model from an Edge Function so API keys stay off the client.
- Mobile apps: Flutter and Swift developers get the same backend as web apps, with official client libraries.
- Agencies: Spin up a fresh project per client from a starter template, such as the Next.js or Stripe subscriptions starters.
- Live dashboards and collaborative tools: Realtime pushes updates the moment a row changes, so you don't need polling.
- Teams leaving Firebase: Supabase publishes migration guidance for people who want SQL and relational data instead of a document store.
Tips for getting more out of it
- Write RLS policies as you create each table, not at the end. Retrofitting security onto a finished app is where most mistakes happen.
- Keep secret keys in Edge Functions or your server, never in front-end code. The public "anon" key is designed to be exposed only because RLS protects the data.
- Use the CLI and local development early, so schema changes live in migration files rather than in dashboard clicks you'll forget.
- If you build with an AI coding agent, connect the Supabase MCP server so it can see your actual schema instead of guessing.
- On the Pro plan, leave the spend cap on until you understand your usage, and check the usage page now and then.
- Use branching or a separate project for development, so experiments never touch production data.
Limits and things to watch out for
Supabase is easy to start and harder to master. Row Level Security is powerful, but it's real Postgres policy logic, and a sloppy policy can either lock users out or leak data. Budget time to learn it properly, especially if an AI tool generated your schema for you.
Free projects pause after a week of inactivity, and you're limited to two active projects. That's fine for experiments but awkward for a demo you share once a month. Some features are still in beta or alpha (Cron, Database Webhooks, Auth Hooks and the Python client among them), so check the status before you rely on them in production.
Costs also deserve attention as you grow. Compute, disk, egress and monthly active users all scale with usage, and add-ons like point-in-time recovery or extra log drains add up. Self-hosting is an option and keeps you from being locked in, but then running, upgrading and backing up the stack becomes your job.
What users say about Supabase
The praise is consistent. Many users say they went from nothing to working auth, a database and storage remarkably fast, and they like having so many pieces in one clean dashboard instead of juggling separate services. Developers who build with AI app builders and coding agents often point to how smoothly Supabase plugs in, including through MCP. Being open source and self-hostable comes up regularly as a reason to trust it.
The complaints cluster around what happens after the honeymoon. A common theme is that the platform is less beginner-friendly once you go beyond the basics. Row Level Security in particular adds a learning curve that catches people off guard. Some users find the documentation thin for advanced cases. Others warn that costs can climb quickly as a project scales.
Pricing in plain words
The Free plan is genuinely usable for side projects. It includes unlimited API requests, 50,000 monthly active users, a 500 MB database, 1 GB of file storage and 5 GB of egress, with the inactivity pausing and two-project limit mentioned above.
Pro starts at $25 per month and is where production apps belong. It raises the limits to 100,000 monthly active users, 8 GB of disk per project, 100 GB of storage and 250 GB of egress, and adds daily backups and email support. It also includes $10 a month in compute credits, enough for one Micro instance. Usage beyond the quotas is billed per unit, and a spend cap is on by default. Compute is billed hourly and can scale far beyond the starter size.
Team, at $599 per month, adds SSO for the dashboard, SOC2 and ISO 27001 coverage, longer backup and log retention, and HIPAA as a paid add-on. That makes it the plan for companies with compliance checklists. Enterprise is custom-priced for very large workloads. Prices can change, so confirm current numbers on the official pricing page.
When something else might suit you better
If you don't want to write code at all, Lovable may be the better starting point. You describe the app and it builds the front end with a Supabase backend underneath, so you can grow into Supabase later. If your "backend" is really a shared database for a team's workflows rather than a customer-facing app, Airtable offers a friendlier spreadsheet-style experience and no-code automations. And if you'd like an AI agent to generate a complete web or mobile app with hosting handled for you, Emergent is worth comparing.
Our take
Supabase is one of the most sensible defaults for a new app backend right now. You get real Postgres, sensible security primitives and almost everything else you need in one place, and the free tier is generous enough to build something real. The catch is that its power, especially Row Level Security, asks you to understand what you're doing. Learn the policies, keep an eye on usage, and it will carry a project a long way.
Features
Available On
Supabase FAQ
Is Supabase free?
Yes. The Free plan includes unlimited API requests, 50,000 monthly active users, a 500 MB database, 1 GB of file storage and 5 GB of egress. Free projects pause after a week of inactivity, and you can have two active projects. Paid plans start with Pro at $25 per month.
Can I self-host Supabase?
Yes. Supabase is open source, and you can self-host it for free. In that case, running, upgrading and backing up the stack becomes your responsibility.
Does Supabase have an API and client libraries?
Every project exposes an auto-generated REST API through PostgREST and a GraphQL API through pg_graphql. Official client libraries are available for JavaScript, Flutter and Swift, with Python in beta.
Can I keep my Supabase bill from running over?
Yes. The Pro plan has a spend cap enabled by default, so usage stays within the plan's included quotas. You can switch it off to pay for additional resources as you grow.