What the book covers, chapter by chapter:

  1. What Supabase Is, and When to Use It: Explains Supabase's services, request flow, security model, portability, costs, and the types of projects it suits.
  2. Project Setup and Local Development: Shows how to create a hosted project, install and use the CLI, manage environments and keys, run migrations, generate types, and deploy.
  3. Postgres Essentials: Schema and Migrations: Introduces the Deskline data model, SQL schemas, types, constraints, migrations, seed data, and design decisions for a live database.
  4. Authentication: Covers Supabase Auth, user profiles, sign-in flows, organizations, roles, stronger authentication, multi-factor authentication, and auth-related interface errors.
  5. Row Level Security: Teaches how to design, write, test, optimize, and debug policies that control access to rows and other database data.
  6. Querying Data: Explains how to read and write data through the Data API, database functions, full-text search, direct Postgres connections, GraphQL, and application queries.
  7. Database Functions, Triggers, and Edge Functions: Compares places to put application logic and covers triggers, Edge Functions, scheduled work, background work, and repeat-safe operations.
  8. Realtime: Shows how to use Postgres Changes, Broadcast, and Presence for live updates, private channels, authorization, reconnection, and scaling.
  9. Storage: Covers buckets, file paths, Storage policies, uploads, downloads, large files, images, caching, public files, and file removal.
  10. AI and Vectors: Introduces embeddings, vector storage, semantic and hybrid search, suggested replies, vector buckets, and coding agents.
  11. Running in Production: Covers production environments, connections, query performance, backups, recovery, compute, replicas, monitoring, live migrations, load testing, and release procedures.
  12. Security, Cost, and Migration: Explains trust boundaries, security reviews, secrets, privacy, compliance, billing, cost control, and moving data and applications in or out of Supabase.
  13. Supabase from .NET: Shows .NET developers how to use the community C# client, Supabase Auth with ASP.NET Core, Npgsql, EF Core, Storage, Realtime, and Edge Functions.
  14. Supabase from Python: Covers Python client usage, FastAPI with Supabase Auth, background workers, and direct Postgres access.
  15. Supabase from Mobile: Explains mobile client libraries, Flutter setup, sign-in flows, unreliable networks, push notifications, version support, and store submission.