A Postgres database for every GitHub branch 🤝 GitHub branching strategy best practices

  Рет қаралды 6,594

Supabase

Supabase

Күн бұрын

LW🆇 Day 2- Supabase Branching: supabase.com/blog/supabase-br...
Collaborative application development is super easy with tools like Git. In this video, Jon Meyers demonstrates how to use Database Branching to accomplish a similar workflow - creating an isolated PostgreSQL database for every branch in GitHub!
More Launch Week 🆇: supabase.com/launch-week?utm_...
So you want to do Database Branching using Supabase? Jon’s got you covered. In this Supabase & Postgres tutorial, Jon shows you how developers like you can manage separate database instances for each feature branch of your application, mirroring your GitHub branches and making your life as a dev MUCH easier!
What You'll Learn:
✅ Creating Separate Database Instances: Jon will show you exactly how to set up individual Supabase instances for each GitHub branch, reflecting the separation of production and feature development environments.
✅ Database Migration Management: Learn to manage database structure changes through migration files that can be tracked and committed within your GitHub repository alongside your application code.
✅ Tips & Tricks for MUCH Easier Deployment Integration: Jon will show you some hacks for automating the process of deploying database changes and integrating them into production, utilizing GitHub actions for continuous deployment. This is essential GitHub branching strategy best practices you should follow!
✅ Local and Preview Environment Testing: Obviously, you’ll need to test! Learn how to test new database functionalities in isolated environments before merging them into the main branch, ensuring robust, error-free app releases and roll-outs. Again, a perfect GitHub branching strategy for multiple environments you should watch!
Why You Should Care About This Postgres Database for Every GitHub Branch Video:
Database branching simplifies managing database versions across different stages of development, ensuring each feature has an isolated environment. By doing this, you’re reducing conflicts and keeping your application and database schema perfectly aligned without disrupting the main production environment.
You’ll also learn:
✅ Setting up a new feature using Supabase’s branching capabilities.
✅ Adding and managing new database columns through Supabase Studio.
✅ Automating deployments and database migrations with GitHub actions.
✅ GitHub branching strategy best practices
This is your guide to making the most of database branching to ensure consistent, error-free deployments. Perfect for developers using Supabase and GitHub! We hope this video helped some dev’s out there!
💻 Videos to watch next:
▶ Watch all Postgres Supabase videos: • Learn Postgres
▶ Postgres...but JSON? • How to store and query...
▶ This is why you MUST be using Postgres functions and transactions: • 3 reasons you should u...
👇 Learn more about Supabase 👇
🕸 Website: supabase.com/
🏁 Get started: app.supabase.com/
📄 Docs: supabase.com/docs
🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
📱 Connect with Us:
🐙 Github: www.github.com/supabase
💬 Discord: www.discord.supabase.com/
🐦 Twitter: / supabase
▶ Instagram (follow for memes): / supabasecom
ABOUT SUPABASE:
Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.
Build in a weekend, scale to millions.
#Supabase #AppDevelopment #RealtimeApps #DeveloperTools

Пікірлер: 39
@Supabase
@Supabase 5 ай бұрын
Keep up with everything we are launching here: supabase.com/launch-week?
@thorwebdev
@thorwebdev 5 ай бұрын
The GitHub for Postgres, amazing work! 💪
@eez
@eez 5 ай бұрын
this is awesome... game changer ..thanks for the demo.
@JonMeyers
@JonMeyers 5 ай бұрын
Absolute game changer! Glad you enjoyed it! 🙌
@antonkouliavtsev2501
@antonkouliavtsev2501 5 ай бұрын
Awesome! I was really looking forward to this one. :)
@JonMeyers
@JonMeyers 5 ай бұрын
Yeah, I am so excited! It also unlocks some pretty amazing things for the future! of Supabase! 🚀
@dshukertjr
@dshukertjr 5 ай бұрын
This is what everyone has been waiting for!
@maloxi1472
@maloxi1472 5 ай бұрын
I'd love to see this kind of integration with Cloudflare Pages 😲
@JonMeyers
@JonMeyers 5 ай бұрын
That would be awesome! 💯
@JonMeyers
@JonMeyers 5 ай бұрын
Branches can still be created manually. The Vercel integration just automates the process! 🚀
@nikhilpsathyanathan
@nikhilpsathyanathan 5 ай бұрын
This is cool. What happens if there is a migration error?
@dnlmgwi
@dnlmgwi 5 ай бұрын
Supabase!
@JonMeyers
@JonMeyers 5 ай бұрын
This is only the beginning! 🚀
@Supabase
@Supabase 5 ай бұрын
🫡
@kamil_supabase_enjoyer
@kamil_supabase_enjoyer 2 ай бұрын
Good but who creates features right from the PRODUCTION branch? Can you show us normal workflow like DEV, QA, PROD?
@bnssoftware3292
@bnssoftware3292 Ай бұрын
Would be really helpful if you did a tutorial on how to build a Dashboard and Customer management portal similar to what you see in Supabase.
@jeremytenjo
@jeremytenjo 5 ай бұрын
wow
@JonMeyers
@JonMeyers 5 ай бұрын
I know, right?
@ShadowsPowerFy
@ShadowsPowerFy 5 ай бұрын
Is it posibble to use this without running supabase locally? So i dident have to make migrations.
@rodrigomansuelinunes1285
@rodrigomansuelinunes1285 5 ай бұрын
Let's branch it out!
@supa_olirice
@supa_olirice 5 ай бұрын
this is awesome 🚀
@AnindoSarker
@AnindoSarker 2 ай бұрын
exactly what I was looking for.
@kamil_supabase_enjoyer
@kamil_supabase_enjoyer 2 ай бұрын
Great. I wonder how it can work with mobile apps especially Flutter.
@cheapliquor4530
@cheapliquor4530 4 ай бұрын
This is great! Does this feature also covers changes to Edge Functions, or only to the Database?
@ThomasSselate
@ThomasSselate Ай бұрын
Vercel creates preview links for commits, branches, PRs... Will all these work ? What if there are no new migrations, will it create a branch anyway, or connect to the main one ? Does the branch live as long as the Vercel preview ?
@frnk_snslvdr
@frnk_snslvdr 5 ай бұрын
so cool 🤯🤯🤯
@amiranvarov
@amiranvarov 5 ай бұрын
so it is same thing that Prisma was offering in their migrations?
@StefanRows
@StefanRows 2 ай бұрын
You should have mentioned that Database Branching is only available on the Pro Plan :)
@holycrimpsauce
@holycrimpsauce 5 ай бұрын
It’s a cool feature. But I don’t want to use Vercel personally. And work uses AWS.
@JonathanSummersMuir
@JonathanSummersMuir 5 ай бұрын
Nice! How are you using AWS today?
@JonMeyers
@JonMeyers 5 ай бұрын
Branches can be created manually - the Vercel integration just automates the process! 👍
@dave_m98
@dave_m98 5 ай бұрын
How do I make a .supabase folder? Is it like all my supabase configurations I looked online but couldn't find anything. Great video, by the way!
@JonathanSummersMuir
@JonathanSummersMuir 5 ай бұрын
Have you been using the CLI to make migrations already? if so, you probably already ran `supabase init` which means you already have a ./supabase directory in your repo. Branching will use the same directory and the same migration files. Also your seed.sql file will work as well.
@peteredmonds1712
@peteredmonds1712 5 ай бұрын
How about Supabase Functions? Could I set up a new endpoint, perhaps a postgres trigger, and have it deployed in a preview env?
@Supabase
@Supabase 5 ай бұрын
Yup, as long as you include the function definition in the migration file, it will be available in the preview branch!
@peteredmonds1712
@peteredmonds1712 5 ай бұрын
@@Supabase Hmm okay. Will that newly added edge function (or any changes to existing functions) also modify my production environment, or are function changes local to that preview environment? If so, how does supabase resolve endpoints in different preview environments?
@awalias
@awalias 5 ай бұрын
can't wait to spin up 100000000x branches
@davebenjamin4388
@davebenjamin4388 5 ай бұрын
when do you expect this to come out of alpha? there's currently a warning in your docs not to use this for production systems...
@DeepakDonde
@DeepakDonde 29 күн бұрын
It would be great if you slow down a little bit....
5 new Auth features you need to be using 🔒
3:18
Supabase
Рет қаралды 7 М.
How many pencils can hold me up?
00:40
A4
Рет қаралды 17 МЛН
3 reasons you should use Postgres Functions and Transactions
16:58
How to store and query JSON data in Postgres
5:05
Supabase
Рет қаралды 4,8 М.
Git MERGE vs REBASE: Everything You Need to Know
4:34
ByteByteGo
Рет қаралды 323 М.
Usage-based restrictions for SaaS subscription tiers
35:28
Supabase
Рет қаралды 6 М.
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 383 М.
How Git Works: Explained in 4 Minutes
4:18
ByteByteGo
Рет қаралды 125 М.
Make your queries 43,240x faster
13:16
Supabase
Рет қаралды 19 М.
My Tech Stack I've Used To Build 10+ Apps Over 2+ Years
8:35
Your Average Tech Bro
Рет қаралды 53 М.
The One We've All Been Sleeping On (probably)
8:18
Ben Davis - Tech
Рет қаралды 23 М.
XL-Power Best For Audio Call 📞 Mobile 📱
0:42
Tech Official
Рет қаралды 772 М.
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 22 МЛН
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 6 МЛН
Как я сделал домашний кинотеатр
0:41
RICARDO
Рет қаралды 1,5 МЛН