Building Production-Grade Web Applications with Supabase A Comprehensive Guide to Database Design, Security, Real-Time Data, Storage, Multi-tenancy, and More

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 Ex...

Descripción completa

Detalles Bibliográficos
Autor principal: Lorenz, David (-)
Otros Autores: Varandas, Jorge
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited 2024.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009843328106719
Tabla de Contenidos:
  • Cover
  • Title Page
  • Copyright and Credits
  • Dedications
  • Foreword
  • Contributors
  • Table of Contents
  • Part 1: Creating the Foundations of the Ticket System App
  • Chapter 1: Unveiling the Inner Workings of Supabase and Introducing the Book's Project
  • Technical requirements (and some preamble)
  • Understanding why Supabase is the stack you want
  • Demystifying the inner workings of Supabase with Postgres
  • Access logic within a route
  • Access logic as a central service
  • How Supabase handles access control
  • How the access system works under the hood
  • Supabase Studio
  • the convenient web dashboard
  • Supabase Auth (GoTrue)
  • the authentication handler
  • PostgREST
  • a REST and GraphQL API for your database
  • Realtime
  • elevating the user experience
  • Storage
  • simple and scalable object storage
  • Image Proxy
  • helping to transform images on the fly
  • Edge Functions
  • completing the optimization stack
  • pg-meta
  • an internal helper service for the database
  • Kong
  • the overarching service orchestrator
  • Introducing the production-grade ticket system project
  • Summary
  • Chapter 2: Setting Up Supabase with Next.js
  • Technical requirements
  • Getting ready with Next.js
  • Installing the Supabase CLI
  • Running your first Supabase instance on your machine
  • Initializing a new local Supabase instance
  • Starting your first Supabase instance
  • Managing multiple local Supabase instances
  • Option 1
  • the start-stop technique
  • Option 2
  • change ports
  • Connecting to Supabase with the Supabase JavaScript client
  • Initializing and testing the base Supabase JavaScript client within Next.js
  • Understanding the base Supabase client
  • Using the Supabase client with Pages Router and App Router
  • Connecting directly to the database
  • Using Supabase with TypeScript
  • Connecting Supabase to other frameworks
  • Nuxt 3
  • Python
  • Summary
  • Chapter 3: Creating the Ticket Management Pages, Layout, and Components
  • Technical requirements
  • Setting up Pico.css with Next.js
  • Building the login form
  • Visualizing the Ticket Management UI
  • Creating a shared UI layout with navigation elements
  • Designing the Ticket List page
  • Constructing the Ticket Details page
  • Adding the comments section to the ticket details
  • Implementing a page to create a new ticket
  • Implementing a user overview
  • Enhancing the navigation component
  • Summary
  • Part 2: Adding Multi-Tenancy and Learning RLS
  • Chapter 4: Adding Authentication and Application Protection
  • Technical requirements
  • Adding authentication protection with Supabase
  • Creating users
  • Preparing the middleware for authentication
  • Implementing the login functionality in our app
  • Protecting access to the Ticket Management system
  • Adding a log out button
  • Logging out using the frontend
  • Logging out using the backend
  • Understanding server authentication
  • Enhancing the password login