Building Production-Grade Web Applications with Supabase: A comprehensive guide to database design, security, real-time data, storage, multi-tenancy, and more
- Length: 534 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2024-08-09
- ISBN-10: 1837630682
- ISBN-13: 9781837630684
- Sales Rank: #410370 (See Top 100 Books)
Craft resilient web applications with Supabase by leveraging advanced features such as authentication, data and user management, and seamless AI integration using its powerful Postgres infrastructure
Key Features
- Learn how to integrate Supabase and Next.js to create powerful and scalable web apps
- Explore real-world scenarios with a multi-tenant ticket system
- Master real-time data handling, secure file storage, and application security enhancement, while discovering the full potential of the database beyond holding data
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Discover the powerful capabilities of Supabase, the cutting-edge, open-source platform flipping the script on backend architecture. Guided by David Lorenz, a battle-tested software architect with over two decades of development experience, this book will transform the way you approach your projects and make you a Supabase expert.
In this comprehensive guide, you’ll build a secure, production-grade multi-tenant ticket system, seamlessly integrated with Next.js. You’ll build essential skills for effective data manipulation, authentication, and file storage, as well as master Supabase’s advanced capabilities including automating tasks with cron scheduling, performing similarity searches with artificial intelligence, testing your database, and leveraging real-time updates.
By the end of the book, you’ll have a deeper understanding of the platform and be able to confidently utilize Supabase in your own web applications, all thanks to David’s excellent expertise.
What you will learn
- Explore essential features for effective web app development
- Handle user registration, login/logout processes, and user metadata
- Navigate multi-tenant applications and understand the potential pitfalls and best practices
- Discover how to implement real-time functionality
- Find out how to upload, download, and manipulate files
- Explore preventive measures against data manipulation and security breaches, ensuring robust web app security
- Increase efficiency and streamline task automation through personalized email communication, webhooks, and cron jobs
Who this book is for
This book is for developers looking for a hassle-free, universal solution to building robust apps using Supabase and its integration libraries. While a basic understanding of JavaScript is useful, it’s not essential as the book focuses on Supabase for creating high-performance web apps using Next.js. Experienced professionals from non-JavaScript backgrounds will find this book useful. Familiarity with Postgres, although helpful, is not mandatory as the book explains all the SQL statements used.
Table of Contents
- Unveiling the Inner Workings of Supabase and Introducing the Book’s Project
- Setting Up Supabase with Next.js
- Creating the Ticket Management Pages, Layout, and Components
- Adding Authentication and Application Protection
- Crafting Multi-Tenancy through Database and App Design
- Enforcing Tenant Permissions with RLS and Handling Tenant Domains
- Adding Tenant-Based Signups, including Google Login
- Implementing Dynamic Ticket Management
- Creating a User List with RPCs and Setting Ticket Assignees
- Enhancing Interactivity with Realtime Comments
- Adding, Securing, and Serving File Uploads with Supabase Storage
- Avoiding Unwanted Data Manipulation and Undisclosed Exposures
- Adding Supabase Superpowers and Reviewing Production Hardening Tips
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Building Production-Grade Web Applications with Supabase: A comprehensive guide to database design, security, real-time data, storage, multi-tenancy, and more
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.