What the book covers, chapter by chapter:
- 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.
- 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.
- Postgres Essentials: Schema and Migrations: Introduces the Deskline data model, SQL schemas, types, constraints, migrations, seed data, and design decisions for a live database.
- Authentication: Covers Supabase Auth, user profiles, sign-in flows, organizations, roles, stronger authentication, multi-factor authentication, and auth-related interface errors.
- Row Level Security: Teaches how to design, write, test, optimize, and debug policies that control access to rows and other database data.
- 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.
- 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.
- Realtime: Shows how to use Postgres Changes, Broadcast, and Presence for live updates, private channels, authorization, reconnection, and scaling.
- Storage: Covers buckets, file paths, Storage policies, uploads, downloads, large files, images, caching, public files, and file removal.
- AI and Vectors: Introduces embeddings, vector storage, semantic and hybrid search, suggested replies, vector buckets, and coding agents.
- Running in Production: Covers production environments, connections, query performance, backups, recovery, compute, replicas, monitoring, live migrations, load testing, and release procedures.
- 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.
- 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.
- Supabase from Python: Covers Python client usage, FastAPI with Supabase Auth, background workers, and direct Postgres access.
- Supabase from Mobile: Explains mobile client libraries, Flutter setup, sign-in flows, unreliable networks, push notifications, version support, and store submission.