Supabase is a backend platform that brings together in one place what most applications need: database, user login, file storage and APIs. The database is PostgreSQL, one of the most used in the world, and the project is open source. The company presents itself as an alternative to Firebase.
For developers, the advantage is not having to build and maintain a server just to get the basics of a product working.
How it works
Each project on Supabase comes with its own PostgreSQL database. On top of it, the platform generates APIs automatically from your tables, so you read and write data without writing a backend.
The main features are:
- Database: full PostgreSQL, with SQL and extensions.
- Authentication: login with email and password, magic links and social providers.
- Storage: stores images, videos and other files.
- Edge Functions: code that runs on the server on demand.
- Realtime: the app receives database changes as soon as they happen.
To control who sees what, Supabase uses PostgreSQL's own Row Level Security policies. You define rules in the database, and they apply even if someone tries to access the API directly.
Practical example
You are building a to-do list app. Create the table and read the data with the JavaScript library:
npm install @supabase/supabase-jsimport { createClient } from '@supabase/supabase-js'
const supabase = createClient(URL_DO_PROJETO, CHAVE_PUBLICA)
const { data, error } = await supabase
.from('tarefas')
.select('*')With this the app already lists tasks from the database. Then you enable login and create a policy so each user only sees their own tasks.
What it's for
Supabase is for getting a product off the ground quickly, without giving up a standard relational database:
- Startups prototypes and MVPs.
- Web and mobile applications with login and per-user data.
- Vibe coding projects, where code agents generate the frontend and need a ready backend.
- Internal company dashboards.
Since the database is PostgreSQL, you can migrate to another server of the same type if needed.
Caveats
Never put the service key in browser code, only the public key. And enable Row Level Security policies on tables, because without them data can be exposed. Check the official documentation for current limits and plans.