100 Firebase Tips, Tricks, and Screw-ups

  Рет қаралды 183,580

Fireship

Fireship

Күн бұрын

Top 100 Firebase Pro Tips 🔥💯. Optimize your app for performance, costs, and developer happiness - and avoid common mistakes fireship.io/lessons/firebase-...
🍍 Firebase firebase.google.com/
🚀 Firebase PRO courses fireship.io/courses/
Leave a comment below with your best Firebase Tip for a chance to win a free T-shirt.
#top100 #firebase
Take the Firebase quiz 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.

Пікірлер: 254
@rubenheymans1988
@rubenheymans1988 4 жыл бұрын
thanks Jeff, now I have to rewrite my entire app
@Fireship
@Fireship 4 жыл бұрын
Haha, sorry about that
@olearycrew
@olearycrew 4 жыл бұрын
Honestly...same
@sirshredderkyle
@sirshredderkyle 4 жыл бұрын
Yeah, thanks a LOT JEFF!
@sexyeur
@sexyeur 3 жыл бұрын
Lol
@Chiefsosa17
@Chiefsosa17 3 жыл бұрын
Thank God I'm about to start my app now
@Fireship
@Fireship 4 жыл бұрын
This is the longest KZbin video I have ever made 😅. Putting together 100 tips was a challenge, but I'm sure there are plenty I missed...
@ian4175
@ian4175 4 жыл бұрын
Fireship like number 6? Awesome video thanks.
@shawnamanda4887
@shawnamanda4887 4 жыл бұрын
Thank you for everything you are doing for this community!! Great work
@anonwithamnesia
@anonwithamnesia 4 жыл бұрын
Ian Bringe lmao he really forgot 6
@Fireship
@Fireship 4 жыл бұрын
@@ian4175 haha, good call. There are two 7s. 6 should be upgrade to blaze, set a budget.
@oldbootz
@oldbootz 4 жыл бұрын
Thanks for the vid. I'm going to try firebase out for the first time now.
@dependersethi1345
@dependersethi1345 4 жыл бұрын
Another Tip: Reads are calculated even when you access the Firestore data from the dashboard. By default, the first 300 documents of the active collection are read as soon as you land on the page. So make sure you do not play around on that page in a live production project. (You can bookmark the quota tab/ page to bypass the dashboard screen)
@vedangdate
@vedangdate 4 жыл бұрын
I have been living a lie
@ShaneTheKing
@ShaneTheKing 3 жыл бұрын
You can actually avoid accidentally being charged for 300 reads by creating a document named _ or something similarly low number on an ASCII chart. Firebase will open the first one in ascending order and it will save you a lot of reads.
@will_lowry
@will_lowry 2 жыл бұрын
@@ShaneTheKing thanks man 🙏🏼
@osamaomari5556
@osamaomari5556 2 жыл бұрын
@@ShaneTheKing can u pls explain more ?
@carlosduran5460
@carlosduran5460 Жыл бұрын
​​@@osamaomari5556 An empty collection named "_" in order to be the first (default) collection that is shown when you open de dashboard. Since it's empty, it won't charge reads.
@YinonOved
@YinonOved 4 жыл бұрын
that video should be declared as an official firebase cookbook
@eriktorres1745
@eriktorres1745 4 жыл бұрын
Man! talk about a cheat sheet. This is the most valuable piece of firebase content I have come across, hands down!
@FidelGuajardo
@FidelGuajardo 4 жыл бұрын
I thought title was a marketing hoax but there are truly 100 tips! Only Jeff could do a video like this with massive great content in under 25 minutes and so gracefully!!! Jeff ROCKS!!!
@Rong.404
@Rong.404 3 жыл бұрын
There should be a checkbox when creating a new firebase project "Yes I watched Fireship's firebase video" 😂 Damn, it's so usefull.
@filipkowalski2183
@filipkowalski2183 4 жыл бұрын
I don't remember when I was so stoked last time about learning materials. Great job with Fireship, love it! Can't wait to get through it.
@firaskudsy
@firaskudsy 4 жыл бұрын
The only membership that i never regrets is fireship .. 👍🙏
@Fireship
@Fireship 4 жыл бұрын
Thank you Firas 🙏
@harryman0412
@harryman0412 4 жыл бұрын
best firebase content on youtube or otherwise. I might just become a member on fireship just to support you so you can keep making content that saves me time and headache. good stuff man.
@Fireship
@Fireship 4 жыл бұрын
Thank you! I try hard to provide a good value for pro members :)
@harryman0412
@harryman0412 4 жыл бұрын
@@Fireship It seems like you do :) I was looking through your courses and I think you've earned my lifetime subscription :) might have to wait for another paycheck or two though.
@CyprianNziim
@CyprianNziim 4 жыл бұрын
So much content to take in at once. This is so awesome!
@brandonmyers2449
@brandonmyers2449 4 жыл бұрын
This is by far the best content I've seen on Firebase. Better than their docs and any other article out there. You're content on Firebase is always good and this was definitely no exception! Thank you!!!
@kingsley15
@kingsley15 4 жыл бұрын
That was awesome! I'm particularly interested in the Deployment and Security stuff. Noticed there are no specific playlists for those videos.
@frostytf2
@frostytf2 2 жыл бұрын
Single handedly the most practice and useful tutorial for majority of Firebase use cases.
@benjaminjameswaller
@benjaminjameswaller 4 жыл бұрын
One more tip: grab a cup of coffee before starting! What an awesome collection of tips and tricks for Firebase.
@TheEkkas
@TheEkkas 3 жыл бұрын
Wow. 24.5 minutes of jam-packed, useful, concise info. Thanks.
@Mellowjay
@Mellowjay 4 жыл бұрын
Just the video I've been hunting for the past couple of years! Thank you! 🙏
@CarlosMolina-bp8jr
@CarlosMolina-bp8jr 3 жыл бұрын
Thanks! Every single word is gold in this video
@amitk.512
@amitk.512 4 жыл бұрын
One underrated feature in firebase is custom claims. Can be very helpful for certain scenarios. Especially Authorization.
@will_abule
@will_abule 4 жыл бұрын
46, 54, 58, 64, 66, 70, 78, 81, 82, 83, 84, 85, 86, 89, 91, 93 are very useful thanks! a useful tip you didn't mention always paginate to reduce costs even further especially for countries in Africa where dollar it's pretty high.
@Fireship
@Fireship 4 жыл бұрын
Good call! Pagination is a great way to reduce costs.
@hameem6845
@hameem6845 3 жыл бұрын
This was insanely informative.. Well done man!
@zeeshanazmat719
@zeeshanazmat719 3 жыл бұрын
One of the best video on Firebase... Thanks a lot Jeff
@FilledStacks
@FilledStacks 4 жыл бұрын
Awesome Awesome Awesome! Waiting for a potential large clients response. They want to build an app with Flutter and Firebase as their backend, this will be invaluable. Thanks Jeff! Can't wait to go through the data modelling course to skill up on the NoSql modelling. I appreciate the content :)
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
Awesome video, tip 56 (12:59) is my favorite, it was a real pain to do this before the increment FieldValue!
@Fireship
@Fireship 4 жыл бұрын
For sure, it is super useful :)
@harpymaslow
@harpymaslow 4 жыл бұрын
So much value in a single video. Love your work Jeff. Keep it up
@javascript_developer
@javascript_developer 2 жыл бұрын
I just finish half of the video and couldn’t stop myself from commenting to appreciate your effort. Thanks a lot. I would need to change a lot of thing in my project.
@agi20dla
@agi20dla 3 жыл бұрын
Excellent video! Thank you. I'm new to firebase, and this will help me out a ton!
@jonathanst-jean7026
@jonathanst-jean7026 4 жыл бұрын
Holy cow. I learned more about firebase in this one video than I have in the last 3 months of reading docs and testing on my own. Absolutely awesome
@kopenPCnerd
@kopenPCnerd 4 жыл бұрын
Thanks for all the great videos! Your content has inspired me to really dive into cloud architecture and has allowed me to effortlessly deploy dozens of web apps. Excited to learn more about Firebase at NgConf next year.
@toddherron4832
@toddherron4832 3 жыл бұрын
Great to see the BIG PICTURE pulled together like that. The next trick (for me) is to do it all in DART/FLUTTER ... :)
@DanBorgia
@DanBorgia 4 жыл бұрын
Liked, saved, and shared. Sooo valuable what you shared in this video.
@moilafreus
@moilafreus 3 жыл бұрын
Wow !! Definitely the most useful video i've seen in a long time ! Thank you so much
@meza5renitec
@meza5renitec 4 жыл бұрын
Honestly might be the best thing I've ever seen in terms of a tips video. Amazing work.
@soumyadeepsinha
@soumyadeepsinha 4 жыл бұрын
One more tip : Use of custom claims to control different roles of users in the app such as admin, moderator , etc instead of making separate values in database . Btw love your videos 🥰
@Eyezbergslim
@Eyezbergslim 4 жыл бұрын
How would you do this in a social media app? For example, I'm creating an app where users create groups with administrators, members and super users. I'm not sure how I could do this using custom claims.
@soumyadeepsinha
@soumyadeepsinha 4 жыл бұрын
@@Eyezbergslim Basically Custom Claims is used for controlling different types of users in the whole app as its a part of the user's meta data . And it is limited to 1000 bytes(as far i remember) . So you can use firestore to store uids of particular group admins and write security rules according to that
@amitk.512
@amitk.512 4 жыл бұрын
@@Eyezbergslim For this case storing this information in a document will be a better choice i guess. For a group, you can have a sub collection of members, and each member document can have one of the above mentioned roles by you. This will be helpful to list the members according to their roles which will be needed somewhere most probably. If you save roles information just in custom claims you can't query them.
@hojdog
@hojdog 4 жыл бұрын
I actually think there are no legitimate use cases for custom claims, for security reasons. Custom claims are only updated when you log out/in - so if you wanted to remove someone with admin roles they don't lose them until they log out. That would be dangerous if you have a dodgy admin. It's not useful for your users either for the same reason. Want to give someone premium? They will have to log out first to receive the cred = bad UX
@patrickmullot73
@patrickmullot73 4 жыл бұрын
Super cool Video! Pretty mind blowing given its speed! Thanks for the shout-out, btw!
@malkavftw
@malkavftw 4 жыл бұрын
Yet another amazing video Jeff. If you can make one about how to cache firestore results when navigating "back", instead of running the query again, it would help a lot. RouteReuseStrategy seems to do the magic, but I can't find much about it
@EzequielTejada
@EzequielTejada 4 жыл бұрын
tbh, this must be the most complete firebase video from the best firebase content creator... Good Job!
@Fireship
@Fireship 4 жыл бұрын
Thank you Ezequiel :)
@DEV_XO
@DEV_XO 4 жыл бұрын
Mate you are just amazing. Awesome video! Thanks a lot!
@kwii22789
@kwii22789 4 жыл бұрын
This is the best video on firebase I've seen. thumbs up! Subscribed too :)
@DavidLarsenDr
@DavidLarsenDr 4 жыл бұрын
Wow, awesome video - so helpful, now I just need to watch it 99 more times! lol
@katbert100
@katbert100 4 жыл бұрын
Amazing stuff, thank you!
@CodingAfterThirty
@CodingAfterThirty 4 жыл бұрын
This is great. Thank you.
@rtpHarry
@rtpHarry 4 жыл бұрын
That was intense but great. I think I will have to watch it 100 times to absorb it all though! :D
@afiq980
@afiq980 3 жыл бұрын
This video teaches me sooooo much, THANK YOU!
@teetanrobotics5363
@teetanrobotics5363 Жыл бұрын
Bro , you're the best!!!!!! Your content on firebase is amazinggggg !!
@PedroAkaki
@PedroAkaki Жыл бұрын
Thanks! Till this Day, good tutorials of firebase are rare.
@haythamabdulla3321
@haythamabdulla3321 4 жыл бұрын
Man... You are my hero ❤️
@LyroPac
@LyroPac 4 жыл бұрын
Loved thanks for the sharing
@aydzz
@aydzz 2 жыл бұрын
I dont really need most of this right now, but Im trying to be on that level. Thanks and will surely be checking this out again when that time comes.
@danielantonioconte
@danielantonioconte 4 жыл бұрын
Great video! thank you so much :)
4 жыл бұрын
Great video! Super good, I will save for reference.
@sveinsoermo9883
@sveinsoermo9883 4 жыл бұрын
This was pure gold!
@JohnnyOshika
@JohnnyOshika 3 жыл бұрын
Awesome video with great tips!
@ezwalduzumaki3161
@ezwalduzumaki3161 4 жыл бұрын
I love the vocals in the beginning, sounds so ancient and beautiful a bit scary too :D
@nerd_mor
@nerd_mor 4 жыл бұрын
Tip that made me lose a few projects: you can only redirect URLs to Cloud Functions if they are in the same GCP region. And the only Region where this is possible is Us-central
@Fireship
@Fireship 4 жыл бұрын
Good to know! Was not aware of that limitation.
@albertcieplinski1870
@albertcieplinski1870 3 жыл бұрын
So good. Thanks!
@caneallestamartinez2797
@caneallestamartinez2797 4 жыл бұрын
Spectacular 💪🔝
@asatorftw
@asatorftw 2 жыл бұрын
This video is pure gold👌👌👌
@oiojin831
@oiojin831 4 жыл бұрын
This is perfect!!!!!!!!!!!
@ilyesbouhari
@ilyesbouhari 4 жыл бұрын
amazing tips thanks bro 🙏🏻
@ziga9
@ziga9 4 жыл бұрын
best video and content on firebase 1M ⭐️🔥🔥🔥
@metalllus
@metalllus 4 жыл бұрын
no.78, I would love to see a concrete example on how to set up a CRON job to automatically backup the database with the REST API, that would be super useful.
@andy5627
@andy5627 4 жыл бұрын
Good vid. Are you going to have some video of Firebase for beginner? And maybe with Flutter integration.
@zakariachahboun
@zakariachahboun 3 жыл бұрын
thanks man!
@Agrim26
@Agrim26 2 жыл бұрын
These 24 min will save your months of research and discovery.
@nicolapigozzo
@nicolapigozzo 4 жыл бұрын
Greeeat thank you very much!!
@j2isndhu
@j2isndhu 2 жыл бұрын
Best video I have seen in a long time
@oardi
@oardi 3 жыл бұрын
Thank you so much
@theunisdk
@theunisdk 4 жыл бұрын
Best video ever!!
@MrCalacianu
@MrCalacianu Жыл бұрын
Hi! first of all I want to thank you for all your awsesome videos, they are help a lot. Would you consider making a video about monitoring firebase functions?
@dom4cswdty84h5
@dom4cswdty84h5 3 жыл бұрын
you are a legend man
@ibrahimqassem2254
@ibrahimqassem2254 Жыл бұрын
Good explain 👍
@robertmarquardt
@robertmarquardt 3 жыл бұрын
Thanks!
@21rogerwaters
@21rogerwaters 3 жыл бұрын
Epic content 🔥
@LeaHayes
@LeaHayes 3 жыл бұрын
Best tip is to subscribe to this channel because it's pretty darn good :D keep up the amazing videos
@AssFaceNFT
@AssFaceNFT Жыл бұрын
My guy!!! 🙏🏻❤
@AbdulSamadDev
@AbdulSamadDev 4 жыл бұрын
Awesome 🔥
@DKPstudios
@DKPstudios 4 жыл бұрын
I have a question - do you recommend using two different databases if you were building a frontend for a lot of users, and a backend that you push content onto? Think of a blog site - would you use the multi-site mentioned, or would you have two separate databases to avoid someone getting into your backend - maybe I had sensitive data on the developer backend.
@CRYPT0GRAPHIC
@CRYPT0GRAPHIC 4 жыл бұрын
More question needed in lovely quiz app.
@gggavin
@gggavin 4 жыл бұрын
That's some 🔥tips
@vedangdate
@vedangdate 4 жыл бұрын
Lifesaver alertttt !!
@tylim88
@tylim88 4 жыл бұрын
nice man, i also setup two project, one for dev one for prod
@Fireship
@Fireship 4 жыл бұрын
That is good practice, although I'd like to see Firebase add some sort of default sandbox in the future.
@joshbedo8291
@joshbedo8291 4 жыл бұрын
Can you do more Firebase and React videos? i love these and learned a lot thanks! I have one question is it a good practice to store your firebase connection in a separate file that exports auth, analytics, firestore? So you can do something like `import { app, db, analytics } from './firebase'`. I was trying to get it running but was getting weird errors passing it through. @Fireship Also did they change the way imports work? I can't load analytics, performance, etc. without importing them separate.
@TheEnde124
@TheEnde124 4 жыл бұрын
If you want to use a sign in provider that's not in firebase, you can use custom tokens! Also, great video!
@vasiovasio
@vasiovasio 4 жыл бұрын
Amazing and very useful video! One question - what hat is your IDE - Visual Studio Code? And what is the name of the color theme - look Amazing with this font and size and these file icons on the left sidebar!
@darshangowda309
@darshangowda309 4 жыл бұрын
Crazy 😍
@DD3874
@DD3874 4 жыл бұрын
Great!
@appdeliverio8761
@appdeliverio8761 3 жыл бұрын
Firebase 🔥💯 - We confirm: Angular SSR on Firebase is lit
@bhanukaisuru2618
@bhanukaisuru2618 4 жыл бұрын
Great..thank you!!!.. how to create user type on firebase auth?(student or teacher or other)
@LucasBonanni
@LucasBonanni 4 жыл бұрын
Awesome video! Nice tips! These days I was thinking if.. There is a way to work with firebase offline like using some mock? or for example, create a Unit test for your code that includes cloud function queries
@Fireship
@Fireship 4 жыл бұрын
Yes, the emulator suite can mock Firestore, Hosting, and Cloud Functions for local offline testing.
@LucasBonanni
@LucasBonanni 4 жыл бұрын
@@Fireship great! I read about the emulator but it mentions just cloud functions but I will dig more into that! Thank you!
@zhenjunseow
@zhenjunseow 4 жыл бұрын
Quick question, is there any way to ensure data is updated successfully in both realtime database and firestore? I'm currently use simultaneous updates in rtdb and batch write in fs but that just ensure atomic write in respective database.
@DaveRBrooks
@DaveRBrooks Жыл бұрын
This is a great resource, Thanks. I have a question about "Trick one" which specifies creating two firebase projects one for dev and one for production. I've done that, but cannot seem to figure out how to build and deploy to the two different targets from a single project. Do you have a video detailing this process? Thanks
@GaboneSgravato
@GaboneSgravato Жыл бұрын
Wow, so many useful tips in this video, i've really loved that, but I would like to ask one thing if possible: regarding the global variables, can I use a global variable inside google cloud and share it between functions? It would be really usefull to know, even because I can't find anything on the internet regarding this thing. Thanks in advance.
@vicsystems
@vicsystems 3 жыл бұрын
U are just amazing
@petedavidson4698
@petedavidson4698 4 жыл бұрын
the Indian in the cupboard thumbnail kudos to you sir!!!
@charliesumorok6765
@charliesumorok6765 3 жыл бұрын
2:00 What do you mean by bypassing test flight?
@joey8698
@joey8698 4 жыл бұрын
nice Jeff Please do you mind doing a video on firebase realtime storage with Angular? i really want to understand and i think you could help me and some newbies out here. thank you
@greetness1458
@greetness1458 Жыл бұрын
best dev video ever
@WandersonJacksonn
@WandersonJacksonn 4 жыл бұрын
thanks :)
@VMzaVAS
@VMzaVAS 4 жыл бұрын
WOOOW!!!!🔥🔥🔥
Firebase - Back to the Basics
25:23
Fireship
Рет қаралды 578 М.
Pray For Palestine 😢🇵🇸|
00:23
Ak Ultra
Рет қаралды 26 МЛН
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 14 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 42 МЛН
顔面水槽をカラフルにしたらキモ過ぎたwwwww
00:59
はじめしゃちょー(hajime)
Рет қаралды 34 МЛН
Is Supabase Legit? Firebase Alternative Breakdown
8:16
Fireship
Рет қаралды 342 М.
Why my chat app broke… a cautionary tale
5:33
Fireship
Рет қаралды 450 М.
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,5 МЛН
Next.js 14 Tutorial - 44 - Middleware
8:23
Codevolution
Рет қаралды 34 М.
But what are Hamming codes? The origin of error correction
20:05
3Blue1Brown
Рет қаралды 2,3 МЛН
Nvidia CUDA in 100 Seconds
3:13
Fireship
Рет қаралды 1 МЛН
Rust's Alien Data Types 👽 Box, Rc, Arc
11:54
Code to the Moon
Рет қаралды 131 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,3 МЛН
A Comprehensive Guide to Using Zoyya Tools for Photo Editing
0:50
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН