Setting Up Supabase with Next.js
This chapter will guide you through the technical setup for your future projects with Supabase, showing you not only what is required to get a proper connection to Supabase but also how to run your local instances. This will gear you up to work on our exciting multi-tenant ticket system project.
You’ll learn what it takes to run local instances of Supabase and, in the context of multiple local instances, explore effective management of those to prevent conflicts.
You’ll also learn how to seamlessly connect to Supabase both with a local instance or the Software-as-a-Service (SaaS) supabase.com version. As part of that, you’ll prove that the setup is working properly by fetching the list of file storage buckets (don’t worry; we haven’t touched on Supabase Storage yet, but we expect it to always return an empty list).
Furthermore, you’ll learn how easy it is to get proper TypeScript support with Supabase...