Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Getting Started with Supabase Local Dev

via egghead.io

Overview

Trying to develop with Supabase while your app is live is tricky. You or a teammate makes some changes to the schema. Suddenly production is experiencing errors. Or, what if you need to work offline? If you can't connect to Supabase that'll be a problem. That's where you'd want to setup Supabase locally. You can make all the changes you want in a local instance, create a migration, and then push your migration to the remote to keep changes in sync. This whole process can be automated with Github actions even. That way, changes have to be reviewed and approved via PR before they go live. In this course you will learn how to: * Setup your local dev environment * Start Supabase locally and create tables * Keep changes between your local database and a remote in sync * Seed data * and setup CI/CD through Github actions Click "Start Watching" to get started!

Syllabus

  • Create a Supabase Account and Database
  • Generate a New NextJS with Supabase App
  • Use Supabase CLI to Login and Init Project
  • Start Supabase Locally and Create a Table
  • Link Local Database to Remote and Run a Migration with Supabase
  • Add Seed Data to Local Database with Supabase
  • Pull Remote Database Changes with Supabase
  • Deploy Local Database Changes to Supabase Remote Through Github Actions

Taught by

Ben Patton

Reviews

4.4 rating at egghead.io based on 11 ratings

Start your review of Getting Started with Supabase Local Dev

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.