Skip to content
BENIBIX Learn

Supabase

Development🗃️ DatabasesRelational Databases

Also known as Supabase Database, Supabase Postgres

A hosted back end built on a Postgres database. It adds login and file storage.

Think of it like

It is like a flat that comes with the furniture in. The rooms are a real home, and the bed is already made.

Example

Lucy builds a small app over a weekend. Supabase gives her the database, the sign-in logic and photo storage. She only writes the front end.

Why it matters

It lets a small team ship a full app without building a server. Because it is plain Postgres underneath, the data is not locked in.

Definition

Supabase is a hosted back end built around a PostgreSQL database. Each project gets a full Postgres database. Around it, Supabase adds user login, file storage, live updates and small server functions. It also makes an API for your tables. So a web or phone app can read and write data with no server of its own.

Example code

javascript
const { data, error } = await supabase
  .from("orders")
  .select("id, total");
Reading rows from the orders table straight from the app, with the Supabase client.
Supabase, at the top, wraps a Postgres database with backend parts.

Common mistake

Leaving tables open to the public API. Turn on row level security and write rules for who can read each row.

Key takeaways

  1. 1
    Postgres underneath. Each project is a real Postgres database.
  2. 2
    Backend parts built in. Login, storage, live updates and functions.
  3. 3
    Lock down the API. Rules decide who reads which rows.

Compare