Fireship · @fireship
100 Firebase Tips, Tricks, and Screw-ups
Uploaded October 14, 2019 · Length 24:31
Summary
Fireship shares 100 Firebase tips, tricks, and mistakes to make app development easier.
- firebase
- firebase tips
- firebase tricks
- firebase mistakes
- firebase development
- firebase app development
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
welcome to my top 10 firebase tips
- 0:02
welcome to my top 25 firebase tips nope
- 0:05
welcome to my top 100 firebase tips I've
- 0:08
been working with firebase for several
- 0:10
years now I've made plenty of mistakes
- 0:11
along the way but I've also uncovered
- 0:13
some secrets that you may not know about
- 0:14
so hopefully this video makes your
- 0:16
experience with firebase 100 times
- 0:18
easier if you're new here like and
- 0:19
subscribe and if you're serious about
- 0:21
building an app with firebase consider
- 0:22
becoming a pro member at fire ship item
- 0:24
you'll get access to full project
- 0:26
courses and a free t-shirt if you sign
- 0:28
up for life
- 0:29
or you can get a free t-shirt by leaving
- 0:30
the best firebase tip in the comments
- 0:32
below the first thing you'll need is a
- 0:34
firebase project if you're building a
- 0:36
serious app create two fire based
- 0:37
projects one for development and one for
- 0:39
production this gives you a sandbox for
- 0:41
testing and experimenting and you can
- 0:43
keep your customer data pristine in the
- 0:45
production project in your production
- 0:47
project link Google Analytics firebase
- 0:49
can automatically set up analytics for
- 0:51
iOS Android and the web if you're
- 0:53
working with a team head over to the
- 0:54
Settings tab and then go to users and
- 0:56
permissions assign rules based on the
- 0:58
principle of least privilege so team
- 1:00
members only have access to the
- 1:01
resources that they actually need from
- 1:03
their head over to the data privacy tab
- 1:05
and update your contact information to
- 1:07
ensure you're in compliance with gdpr
- 1:09
now click the button to add a new app to
- 1:11
your firebase project when you do that
- 1:13
it will give you an object with a bunch
- 1:15
of credentials don't worry these are
- 1:16
perfectly safe in your front-end code as
- 1:18
long as you set up security rules which
- 1:20
we'll look at later upgrade your
- 1:21
firebase plan to blaze its pay-as-you-go
- 1:23
but you still get all the free stuff
- 1:24
that you would on the spark tier but you
- 1:26
still want to stay on top of costs so
- 1:28
head over to the GCP console and set up
- 1:30
a budget alert for your project and
- 1:32
monitor your monthly usage from the
- 1:33
reports panel this will tell you exactly
- 1:35
which services are costing you the most
- 1:37
money make sure to install the firebase
- 1:39
command line tools globally on your
- 1:40
system and also the Google Cloud SDK a
- 1:43
firebase project is actually just a
- 1:45
layer on top of a Google cloud platform
- 1:47
project once you've done this you should
- 1:49
have access to the firebase command and
- 1:51
the g-cloud command on your local system
- 1:53
so now that we have a project set up
- 1:55
let's look at how we can actually deploy
- 1:56
our code to this project if you're
- 1:58
building an iOS or Android app use


