Database / Supabase basics Interview Questions
List the API types Supabase auto-generates from your schema?
From a single Postgres schema, Supabase automatically exposes two API styles without extra configuration:
- REST (via PostgREST) — every table and view becomes a resource you can query with filters, ordering, and pagination through URL parameters.
- GraphQL (via pg_graphql) — the same schema is exposed as a GraphQL endpoint with generated types and relationships.
Both respect Row Level Security, so switching API styles doesn't change what data a given user can reach.
More Related questions...