Firebase vs Supabase - I Built The Same App With Both
HTML-код
- Опубликовано: 21 ноя 2024
- Check out Montee, a suite of productivity tools to help make work easier for you: montee.ai/?utm_...
I built the same app using Firebae and Supabase. Supabase advertises itself as the Firebase open source but is that a fair comparison? In this video I put the two tech stacks head to head with each other to see how they compare.
Link to Supabase: supabase.com/
Interested in trying out linkful? Sign up to get on the waitlist here: tally.so/r/3NpjKl
Check out Linkful! linkful.app/youraveragetechbro. You can test it out by pasting in the link to this TikTok: www.tiktok.com...
Get access to high quality coding projects that actually impress recruiters: www.sweproject...
Check out all the gear that I use! kit.co/dohyunk...
Follow me on TikTok: @youravergetechbro
Kindly ensure to control background music, its very difficult to follow.
Yeah, the music was just too loud. And he can't even reply to address it
I built an app in firebase and supabase for my new startup idea: Removing useless background music from YT videos
@@reprovedcandytbh id pay for it
I was in doubt if I had another video running :')
I thought my neighbor was at it again. Turned out it was his
flutter is supported by Supabase
You all should keep in mind that this video is 7 months old. Currently, Supabase added more features at this point and it keeps growing.
Firebase too
@@rafaelpereiraariasit cost money every time see your data. I’m good
The reasons I'm going supabase on my current client project:
1. Firestore is TERRIBLE for complex queries
2. Firebase functions have trash cold start times
3. Firebase SDKs are huge
In the future, I'll probably only go firebase when I really need both offline AND multi-user support (i.e. people accessing the same document, sometimes offline), I think that's where firestore shines since it handles conflicts itsself.
By the way, I was wrong about the conflicts. Firestore actually has a 'last write wins' strategy, which is no strategy at all.
I guess I'll only use it in the future when I need quick and dirty offline support.
How is firebase terrible for complex queries? That's the nature of NoSQL, not firebase. You should choose SQL or not based on your needs. Most data is relational though.
Firebase SDKs stopped being huge 2 years ago when treeshaking was supported in the library. Only the parts you import are in the final bundle.
Also firebase charge you even only reading. Imagine you make mistakes on your code, then someone abuse that code. Make you charge over thousands or millions dollar
5:15 - I find it funny that he mentions that Supabase is a startup and not as reliable, but we all know Google's track record with killing products lol!
In my opinion, Supabase >> Firebase. The documentation that Supabase has is miles better than Firebase, within 5 minutes of reading the docs I was able to figure out how to setup auth as well as tables, whereas for Firebase this does not simply happen
TOTALLY AGREE.
Any kind of docs from Google are horrible.
annoying loud background music
Firebase querying is quite limited, another win for Supabase. But you could also argue Firebase has the advantage of the suite of tools in GCP.
Agreed! Supabase having access to postgres allows for any types of queries you want which is a huge win.
As great as the suite of tools in GCP is, it's not much of a loss because you can integrate that anyway. Databases are the core of the tech stack, and they're hard to migrate from, especially in a mobile app, so Postgres being a lot better than Firestore trumps almost everything else.
@@YourAverageTechBro not just huge actually very huge, firebase doesn't support search by it self it's need a third party indexing to enable search and this is a primary feature in every application and it should be supported by the firebase also geo queries cannot be sorted by distance and paginated in the same time and that is not good at all for large-scale project I think Supabase wins, & Thanks for your amazing video 🥰
firebase includes pipelining into big query (for pretty cheap) which has the best SQL ide and comes with free looker studio for dashboarding. pretty hot and very cheap for what you get.
Lovely content. Thank you so much for sharing!
I would just ask you to avoid background music in your following videos since this makes everything you're saying harder to understand if you're not a native English speaker :)
Your project is an amazing idea! Wishing you godspeed!
As far as I know, Firebase only supports iOS, Android, and web apps. Supabase supports all platforms, including Mac and Windows.
supabase will eventually support unity.. what its important is flexibility and open source and community
ruclips.net/video/S0hTwtsUWcM/видео.html
Put your timestamps onto the actual video! It will help so much more than just a frame in the video!
i subscribed within 30 seconds of your video. str8 to the point and short video. that is what we like.
No need to waste anyone's time, love that too. RUclips videos need no small talk...
Jeez man, really wanted a relational option but then right at the end you mentioned compatibility!
So how do you make it fit iOS? Thanks
Hey! Really appreciate your opinion on this. Thank you ❤
If you could, in the future, make a video on How to Choose a Tech Stack for Your Startup, it would be really awesome. There’s literally no good video on this on RUclips.
If you don't have the knowledge to make that decision, then you won't stand to gain from the advantages of using specific problem solving tech anyway, so just choose modern tech that has become industry standard. Some caveats apply but I regret not using industry standard tools early on in my maker journey
If web, next.js
If mobile, react native
If a game, Unity
If a desktop app, react wrapped in electron
And then for backend there's no harm using supabase because it's all industry standard under the hood.
@@hojdog thanks 😊💙 - really appreciate your opinion
its great you called out the timestamps. I do think it would be super helpful if the video was time stamped and in description. can’t imagine that’s very difficult since you already know the times
I like Supabase better, converting my firebase apps to Supabase. The one thing Firebase does better is 3rd party Auth. both do email auth very well. But Google and Apple auth is not documented well enough.
oky, now I'll use superbase i think this is what I want
Tip for the next videos: lower your background music. It doesn't feel like it's playing on the background....
Thanks for the comment - noted and I've made future videos have quieter background music.
Thank you for the comparison!
🙏
Niceee Video. I like Firebase, I have been using it for a few years but the fact that you have to compromise for lack of relational database is annoying. Plus you are getting charged for the extra reads needed for database normalization.
For me, one of the major drawbacks of Firebase is that Firestore lacks the capability to perform queries with range filters on multiple fields.
lol what this is so basic! How does Firestore not have that
Great video, just subscribed
Did Supabase self hosting get any better? Or is there still limitations? I couldnt find a good comparision table between Cloud and Self Hosted
You are doing amazing man! Top content!
appreciate the support!
first thank you for sharing this content, it is spot on to what I was looking for and getting more feedback. that said please don't use background music when you are speaking. for people like me with hearing loss the background music (aka noise) just make it nearly impossible to understand you.
Great content. Just the music background level is high with your fast accent its make it harder to undrstand from the first time.
Do people use supabase API or build their own kinda rest API, otherwise, there's still a bit of a vendor lock in if you build your front end app with their API?
Hola, me gustó mucho tu pregunta, pudiste saber algo sobre tu pregunta. Muchas gracias.
Some people use Prisma on top of supabase. Personally I just abstract away the supabase code into repositories so that it's easier to change down the line.
how big files (e.g. video, long pdf, etc.) can be uploaded on those chat platforms to share in real time? how much data can be left stored in the chat? for how long time data remains stored?
Thank you, this video saved me research time
lol I’m just curious about his startup now. How’s it going? Any updates?
I tried firebase and the documentation feels a bit bad.. i couldn't even connect to my database with the javascript sdk but i also tried supabase and i managed to connect much more easily, not to mention that the documentation is much better and the sdk feels a lot more light-weight
I’m currently using supabase free tier. How’s your app doing?
Suggestion - Background music makes it almost impossible to understand you.
Thanks for the comment - Will make sure to have background music super quiet or none at all in future videos.
@@YourAverageTechBro use none.. when we talk with u in person will u use bgm ?
Thank you, I think I will go with Firebase
👏 proper proper review mate
Definitely supabase here. I have heard/read countless horror stories of firebase charges - the more recent story around apps that 100% depends on firebase. The app suddenly get charged for $700 due to changes in firebase phone authentication free limit (the charge had been 0 before). I know this is firebase prerogative, but it can also mean your app would suddenly die..
So the non-vendor locked in for me scores > 50% in choosing the backend. However, of course the backend need to be stable and provides all the functionalies you need and supabase ticks all.
And may I add a few more
- Firebase database is all nosql + realtime. In actual app/website, realtime db only overkill. In contrast with supabase, you can choose which table to make it available for realtime..
- If you are not deligent enough, the firebase read/write cost will kill you too (highlighted in the video).
- I am going to use phone authentication, and having to use twilio etc for the sms is okay for me as I can control the cost.
Good video, lower volume for background music should be best
Very good english and accent however I needed subtitles because the music was too loud.
actually supabase support flutter as well .. good content keep up
It is been up for 1-2 years ago if i could recall.
Yeah, supabase is nice to have as a db tool for flutter
هلا بالحبيب
@@ahmadmokhtar8175 هلابك ✌🏼
For an iOS only app that needs authentication and database, is there any “free” open source app that I could self host in a VPS - that has an iOS package similar to what Firebase provides?
Can we migrate from Supabase to our own custom backend such as Node js , Postgres, S3, auth0 in future ?
It's a postgres database so you have full access to all your data to automate the migration
I don't get the lack of support for "different stacks". All they can do is expose the api's and we can develop anywhere right?? From my exp, using sdk's were a pain and I switched right back to api's
1:29 Why aren't the list item contents indented the same 😬
Bro best places or courses to learn React Native
0:20 Can you also put the timestamps in the description, which will be treated as Chapters?
is linkful still working? I tried the links but seems there is no deployment
Great video exept for the poor audio. It would be a lot easier to understand what you are saying without the music playing.
Can you make a video on using firebase auth with supabase?
Hi!
Background music a bit intrusive. I'd prefer to have it a bit quiter.
I wanna know, how it was downloaded on my phone, was it an upgrade from Google, cause my friends don't have it on there phone
I don't understand what is the problem for mobile apps? I mean why can't a mobile dev write in Javascript? Is that a problem? Can you write a backend in kotlin?
thank you for this useful informations
I prefer everything in superbase except edge function which I have trouble using because of cors issues and the fact that most supabase tutorial are not live coding tutorials. I have trouble learning if it's not live coding
I have some plans to make a live supabase coding tutorial! Make sure to subscribe if you want to see it in the future 🙂
@@YourAverageTechBro cool i will subscribe
Do you run your functions in Firebase then?
@@matthewbeardsley7004 nope, I run them in Supabase
A great idea
Are you guys still using Firebase for other features such as notifications while using Supabase?
background music is out of control bro, trim it down, I can't hear you properly
Hello and thanks. but can you make app or give us code to make flutter app with supabase
Because firebase blocked here
Is this a firebase or music video ?
I found this useful, but the background music is just a distraction. I just want to hear your words.
music in background?
SUPA! BASE!
Firebase can charge you unlimited.
Guys can you help me, I'm using supabase, the free version. I cannot sign up another new user. Why sinit?
5:49 how about flutter???
I checked Supabase... Appwrite is easier to learn and much more flexible.
Now do it with Convex db
Please increase background music I can still hear you
i fucking love supabase casino
Seriously, the background music is really distracting!
Sorry! I'll not include the music in future videos.
For some reason as a beginner iOS developer i find Supabase docs easier to understand. I find Firebase docs confusing, hard to read, the guy in charge with iOS presentation is even more hard to understand what the heck he is talking about...disaster
why does it matter firebase is for unity? just make an api call to a fastapi endpoints that interacts withe the supa postgres (?)
great video but annoying background music
Yes but the App link
Really music? Cmon
Supabase have native libraries for android and ios and flutter
music too loud
This idea is ehh... I know you got something better!
this vendor lockin stuff is not true. yes you can take your data from the pg database as a db dump but a lot of the stuff such as the realtime db or even the auth is built for vendor lockin.
also the row level security is really hard to maintain and manage. there was a reason we got away from database window functions in the 90s and started moving things to the backend. just because of shiny marketing, those things don't magically become better now.
Background music destroys the video
Supabase provides a Kotlin Multiplatform library, supabase-kt, that allows you to easily integrate Supabase features into your Kotlin projects
make music louder please next time
Tech Bro, you don't need all the annoying effects. Just explain the topic like a normal person.
firebase also offers 50 000k mau for free do u research properly
Cool 😍
Glad you enjoyed it 🙂
Hmu if you want to implement Supabase + offline-first :)
NONE! Use VPS... 🎉
loud background music! so anoying
Man the music is terrible
fck firebase and supabase, use your own servers guys
what do you mean? can you tell how to ?
@@faturismee like cloud servers. Amazon ec2. You can manage everythingn there
firebase is horrible right now
That was just terrible, mostly misleading and pretty much no real info on either product other than a sample app level understanding. Who's this content for?? Experienced devs will easily figure it out just from the overview, and beginners will just end up in a mess
holy shit u blink a lot