Back to roadmaps supabase Course

What is Supabase

Supabase is an open-source Backend-as-a-Service (BaaS) platform designed as an alternative to Google Firebase. Instead of utilizing custom NoSQL data structures, Supabase is built entirely on top of PostgreSQL, a robust relational database.


1. The Core Architecture of Supabase

Supabase is not a single database; it is a collection of open-source tools integrated into a unified developer dashboard:

A. PostgreSQL Database

The heart of Supabase is a full-featured Postgres database. You retain full root access, allowing you to write custom SQL functions, database triggers, and install extensions (such as pgvector for AI vector embeddings).

B. PostgREST (Auto-Generated API)

PostgREST is a web server that reads your active database schema and generates a secure RESTful API automatically. This API allows you to execute CRUD operations directly from client-side scripts.

C. GoTrue (Authentication API)

GoTrue is an API layer that manages user identities, login routes, email confirmation tokens, and OAuth provider integrations.

D. Realtime (WebSockets)

Supabase Realtime listens to PostgreSQL replication logs, broadcasting database updates, insertions, or deletions to connected clients via WebSockets instantly.


2. Setting Up a Supabase Project

To get started, follow these configuration steps:

  1. Navigate to supabase.com and sign in using your GitHub account.
  2. Click New Project and enter a project name, database root password, and select a hosting region closest to your visitors.
  3. Click Create new project. Supabase will provision your database instances, API endpoints, and authentication servers in a few minutes.
  4. Once completed, your credentials (such as the Project API URL and Anon Public Key) will be displayed in the Project Settings panel.
Published on Last updated: