Building Production-Grade Web Applications with Supabase: A comprehensive guide to database design, security, real-time data, storage, multi-tenancy,
Lorenz, David, Varandas, Jorge
- 出版商: Packt Publishing
- 出版日期: 2024-08-09
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 534
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1837630682
- ISBN-13: 9781837630684
-
相關分類:
資料庫、資訊安全
海外代購書籍(需單獨結帳)
相關主題
商品描述
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
商品描述(中文翻譯)
打造具韌性的網頁應用程式,利用 Supabase 的先進功能,如身份驗證、數據和用戶管理,以及使用其強大的 Postgres 基礎設施進行無縫的 AI 整合。
主要特點:
- 學習如何整合 Supabase 和 Next.js 來創建強大且可擴展的網頁應用程式
- 探索多租戶票務系統的實際案例
- 精通即時數據處理、安全文件儲存和應用程式安全性增強,同時發掘數據庫超越數據儲存的全部潛力
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
發現 Supabase 的強大功能,這是一個前沿的開源平台,顛覆了後端架構的傳統。由擁有超過二十年開發經驗的資深軟體架構師 David Lorenz 指導,本書將改變您對項目的處理方式,並使您成為 Supabase 專家。
在這本全面的指南中,您將建立一個安全的、符合生產標準的多租戶票務系統,並與 Next.js 無縫整合。您將培養有效的數據操作、身份驗證和文件儲存的基本技能,並精通 Supabase 的先進功能,包括使用 cron 排程自動化任務、利用人工智慧進行相似性搜索、測試數據庫以及利用即時更新。
在本書結束時,您將對該平台有更深入的理解,並能夠自信地在自己的網頁應用程式中使用 Supabase,這一切都要感謝 David 的卓越專業知識。
您將學到的內容:
- 探索有效網頁應用程式開發的基本功能
- 處理用戶註冊、登錄/登出流程和用戶元數據
- 瀏覽多租戶應用程式,了解潛在的陷阱和最佳實踐
- 發現如何實現即時功能
- 瞭解如何上傳、下載和操作文件
- 探索防止數據操作和安全漏洞的預防措施,確保網頁應用程式的安全性
- 通過個性化電子郵件通信、webhooks 和 cron 作業提高效率並簡化任務自動化
本書適合對象:
本書適合尋求無憂無慮、通用解決方案的開發人員,使用 Supabase 及其整合庫來構建穩健的應用程式。雖然對 JavaScript 的基本理解是有幫助的,但並非必需,因為本書專注於使用 Supabase 創建高效能的網頁應用程式,並使用 Next.js。來自非 JavaScript 背景的經驗豐富專業人士也會發現本書有用。對 Postgres 的熟悉雖然有幫助,但並非強制要求,因為本書會解釋所有使用的 SQL 語句。
目錄:
- 揭示 Supabase 的內部運作並介紹本書的項目
- 設定 Supabase 與 Next.js
- 創建票務管理頁面、佈局和組件
- 添加身份驗證和應用程式保護
- 通過數據庫和應用程式設計打造多租戶
- 使用 RLS 強制執行租戶權限並處理租戶域名
- 添加基於租戶的註冊,包括 Google 登錄
- 實現動態票務管理
- 使用 RPC 創建用戶列表並設置票務指派
- 通過即時評論增強互動性
- 使用 Supabase Storage 添加、安全和提供文件上傳
- 避免不必要的數據操作和未披露的暴露
- 添加 Supabase 超能力並回顧生產加固提示