MFS401 : Table of Contents

Chapter 7

Lesson 1

Local Development: Setting up and Managing Environments

Foundational

Importance of local development

Setting up local development

Advanced

Database Migrations

Database Seeding

Managing Different Project Environments

Quiz it to win it

Take the quiz

3 Questions
12 XP

One of the best things about Supabase is its flexibility, which makes it such that it can run almost anywhere. Which means we can run the full Supabase stack on our local machine.

Importance of local development


While it is usually fine to keep using Supabase Dashboard to build our apps locally during development, there are several advantages to running the Supabase stack locally:

  • Performance: Local servers often respond quicker than cloud servers, mainly due to the absence of internet-induced latency. This speed can be crucial when testing performance-intensive operations or applications.
  • Data Privacy and Security: When building applications that handle sensitive data, developers might hesitate to upload it to a cloud, even if it's just for testing purposes. Running Supabase locally means all data remains on the machine, ensuring complete data privacy.
  • Environment Control: When working on a local setup, developers have complete control over the configuration. Say we want to test a new table schema. Having a local setup allows us to do this without any constraints and without worrying about breaking the cloud version. It also makes it easy to roll back changes if something doesn't work out as expected. Once the changes are final, we can apply them to our live Supabase project.
  • Get started for free today!

    No commitments. No contracts. Enjoy all features for a day — join in just three clicks!

    No credit card required.

    Quiz it to win it

    Complete this quiz successfully to proceed to the next lesson and win upto 12XP.

    Start quiz for this lesson

    Completing this quiz will get you

    +12 Experience Points

    +5% course progress