Firebase is a suite of tools for building apps on top of Google Cloud Platform. It's most famous for its realtime database, but also includes services for user authentication, serverless computing, push messaging, file storage, and more. https://fireship.io/pro

#databases #tech #100SecondsOfCode

This video is NOT sponsored. 

🔗 Resources

Firebase http://firebase.google.com/
Firebase Basics Tutorial https://youtu.be/q5J5ho7YUhA
Firebase History https://medium.com/firebase-developers/what-is-firebase-the-complete-story-abridged-bcc730c5f2c0

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

What is Firebase?
Firebase basics tutorial
Who founded firebase?
Is Firebase owned by Google?
What is Firebase used for?
Is Firebase secure?
2024-02-04T05:33:38.921Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
53a364cc-e6f8-4963-8edd-5f42c99cd184
dd9e4822ea190f6486a9adca6b780be732e3dffd15c7e3b93e6738e2568bd695
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Firebase, a suite of tools for building apps and managing infrastructure on top of Google Cloud Platform.
It was founded by James Tamplin and Andrew Lee in 2011, after they discovered that developers were using their chat software to manage non chat application data.
This inspired them to create a real time database, a JSON database that Matically stays in sync with your front end application.
It was later expanded to support user authentication and website hosting to act as a complete back end as a service.
In 2014, it was acquired by Google, where it was further expanded with serverless computing via Cloud functions, push notifications via Cloud Messaging, and other Google services like Analytics and AdMob.
In 2017, Google acquired Fabric from Twitter and also launched a new document database called Firestore to support a wider range of applications.
Most importantly though, Firebase provides software development kits for virtually every platform to manage and scale this infrastructure with little to no back end code.
To build a full stack application right now, create a free Firebase project, then open up some code for your favorite front end platform.
Install the Firebase SDK, then connect it to the cloud with your project credentials.
Once initialized, you can start interacting with your back end resources.
1st, we might wanna know if the user is logged in or not.
We can listen to the current User with the on auth state changed function.
The user will be null at first, but we can log them in with their Google account using the sign in with pop up function.
Now that we have a user logged in, we might want on to store something in a database.
We can make a reference to a document in Firestore, then write JSON data to it while making a reference to the current user's user ID.
But the amazing thing is that we can Listen to updates to that data in real time by simply referencing the document using the on snapshot function.
Anytime the data changes on the server, it'll be did in the UI with 0 latency, thanks to optimistic updates out of the box.
But that doesn't seem very secure.
How do we control who has access to the database?
FHIR Store security rules allow you to define access control logic in a simple readable format with common expression language.
You can do almost everything from the front end, but when you do need to run server side code, Firebase This Cloud Functions provides a tightly integrated serverless back end.
Not only does it allow you to create HTTP endpoints, but functions can also They'll be triggered in the background based on events that happen in your project, like rights to the database, user authentication events, file uploads, and many others.
When developing locally, Firebase has an emulator suite to run and test your code in a mock environment.
When it's time to deploy, run the Firebase deploy command to push your code to the cloud and allocate infrastructure to run it at any scale.
This has been Firebase in 100 seconds.
If you're ready to build a serious app with Firebase, I can think of no better place to learn than Fireship IO, the web app I built with Firebase to teach Firebase.
Thanks for watching and I will see you in the next one.

Speaker 0: Firebase, a suite of tools for building apps and managing infrastructure on top of Google Cloud Platform. It was founded by James Tamplin and Andrew Lee in 2011, after they discovered that developers were using their chat software to manage non chat application data. This inspired them to create a real time database, a JSON database that Matically stays in sync with your front end application. It was later expanded to support user authentication and website hosting to act as a complete back end as a service. In 2014, it was acquired by Google, where it was further expanded with serverless computing via Cloud functions, push notifications via Cloud Messaging, and other Google services like Analytics and AdMob.

In 2017, Google acquired Fabric from Twitter and also launched a new document database called Firestore to support a wider range of applications. Most importantly though, Firebase provides software development kits for virtually every platform to manage and scale this infrastructure with little to no back end code. To build a full stack application right now, create a free Firebase project, then open up some code for your favorite front end platform. Install the Firebase SDK, then connect it to the cloud with your project credentials. Once initialized, you can start interacting with your back end resources.

1st, we might wanna know if the user is logged in or not. We can listen to the current User with the on auth state changed function. The user will be null at first, but we can log them in with their Google account using the sign in with pop up function. Now that we have a user logged in, we might want on to store something in a database. We can make a reference to a document in Firestore, then write JSON data to it while making a reference to the current user's user ID.

But the amazing thing is that we can Listen to updates to that data in real time by simply referencing the document using the on snapshot function. Anytime the data changes on the server, it'll be did in the UI with 0 latency, thanks to optimistic updates out of the box. But that doesn't seem very secure. How do we control who has access to the database? FHIR Store security rules allow you to define access control logic in a simple readable format with common expression language.

You can do almost everything from the front end, but when you do need to run server side code, Firebase This Cloud Functions provides a tightly integrated serverless back end. Not only does it allow you to create HTTP endpoints, but functions can also They'll be triggered in the background based on events that happen in your project, like rights to the database, user authentication events, file uploads, and many others. When developing locally, Firebase has an emulator suite to run and test your code in a mock environment. When it's time to deploy, run the Firebase deploy command to push your code to the cloud and allocate infrastructure to run it at any scale. This has been Firebase in 100 seconds.

If you're ready to build a serious app with Firebase, I can think of no better place to learn than Fireship IO, the web app I built with Firebase to teach Firebase. Thanks for watching and I will see you in the next one.
Firebase, a suite of tools for building apps and managing infrastructure on top of Google Cloud Platform. It was founded by James Tamplin and Andrew Lee in 2011, after they discovered that developers were using their chat software to manage non chat application data. This inspired them to create a real time database, a JSON database that Matically stays in sync with your front end application. It was later expanded to support user authentication and website hosting to act as a complete back end as a service. In 2014, it was acquired by Google, where it was further expanded with serverless computing via Cloud functions, push notifications via Cloud Messaging, and other Google services like Analytics and AdMob. In 2017, Google acquired Fabric from Twitter and also launched a new document database called Firestore to support a wider range of applications. Most importantly though, Firebase provides software development kits for virtually every platform to manage and scale this infrastructure with little to no back end code. To build a full stack application right now, create a free Firebase project, then open up some code for your favorite front end platform.
databases
google
data management
software
Install the Firebase SDK, then connect it to the cloud with your project credentials. Once initialized, you can start interacting with your back end resources. 1st, we might wanna know if the user is logged in or not. We can listen to the current User with the on auth state changed function.
The user will be null at first, but we can log them in with their Google account using the sign in with pop up function. Now that we have a user logged in, we might want on to store something in a database. We can make a reference to a document in Firestore, then write JSON data to it while making a reference to the current user's user ID. But the amazing thing is that we can Listen to updates to that data in real time by simply referencing the document using the on snapshot function. Anytime the data changes on the server, it'll be did in the UI with 0 latency, thanks to optimistic updates out of the box. But that doesn't seem very secure. How do we control who has access to the database? FHIR Store security rules allow you to define access control logic in a simple readable format with common expression language. You can do almost everything from the front end, but when you do need to run server side code, Firebase This Cloud Functions provides a tightly integrated serverless back end.
security
databases
google
data
data management
Not only does it allow you to create HTTP endpoints, but functions can also They'll be triggered in the background based on events that happen in your project, like rights to the database, user authentication events, file uploads, and many others. When developing locally, Firebase has an emulator suite to run and test your code in a mock environment. When it's time to deploy, run the Firebase deploy command to push your code to the cloud and allocate infrastructure to run it at any scale. This has been Firebase in 100 seconds. If you're ready to build a serious app with Firebase, I can think of no better place to learn than Fireship IO, the web app I built with Firebase to teach Firebase. Thanks for watching and I will see you in the next one.
Firebase, a suite of tools for building apps and managing infrastructure on top of Google Cloud Platform. It was founded by James Tamplin and Andrew Lee in 2011, after they discovered that developers were using their chat software to manage non chat application data. This inspired them to create a real time database, a JSON database that Matically stays in sync with your front end application. It was later expanded to support user authentication and website hosting to act as a complete back end as a service. In 2014, it was acquired by Google, where it was further expanded with serverless computing via Cloud functions, push notifications via Cloud Messaging, and other Google services like Analytics and AdMob. In 2017, Google acquired Fabric from Twitter and also launched a new document database called Firestore to support a wider range of applications. Most importantly though, Firebase provides software development kits for virtually every platform to manage and scale this infrastructure with little to no back end code. To build a full stack application right now, create a free Firebase project, then open up some code for your favorite front end platform. Install the Firebase SDK, then connect it to the cloud with your project credentials. Once initialized, you can start interacting with your back end resources. 1st, we might wanna know if the user is logged in or not. We can listen to the current User with the on auth state changed function. The user will be null at first, but we can log them in with their Google account using the sign in with pop up function. Now that we have a user logged in, we might want on to store something in a database. We can make a reference to a document in Firestore, then write JSON data to it while making a reference to the current user's user ID. But the amazing thing is that we can Listen to updates to that data in real time by simply referencing the document using the on snapshot function. Anytime the data changes on the server, it'll be did in the UI with 0 latency, thanks to optimistic updates out of the box. But that doesn't seem very secure. How do we control who has access to the database? FHIR Store security rules allow you to define access control logic in a simple readable format with common expression language. You can do almost everything from the front end, but when you do need to run server side code, Firebase This Cloud Functions provides a tightly integrated serverless back end. Not only does it allow you to create HTTP endpoints, but functions can also They'll be triggered in the background based on events that happen in your project, like rights to the database, user authentication events, file uploads, and many others. When developing locally, Firebase has an emulator suite to run and test your code in a mock environment. When it's time to deploy, run the Firebase deploy command to push your code to the cloud and allocate infrastructure to run it at any scale. This has been Firebase in 100 seconds. If you're ready to build a serious app with Firebase, I can think of no better place to learn than Fireship IO, the web app I built with Firebase to teach Firebase. Thanks for watching and I will see you in the next one.
Firebase,
firebase
a
a
suite
suite
of
of
tools
tools
for
for
building
building
apps
apps
and
and
managing
managing
infrastructure
infrastructure
on
on
top
top
of
of
Google
google
Cloud
cloud
Platform.
platform
It
it
was
was
founded
founded
by
by
James
james
Tamplin
tamplin
and
and
Andrew
andrew
Lee
lee
in
in
2011,
2011
after
after
they
they
discovered
discovered
that
that
developers
developers
were
were
using
using
their
their
chat
chat
software
software
to
to
manage
manage
non
non
chat
chat
application
application
data.
data
This
this
inspired
inspired
them
them
to
to
create
create
a
a
real
real
time
time
database,
database
a
a
JSON
json
database
database
that
that
Matically
matically
stays
stays
in
in
sync
sync
with
with
your
your
front
front
end
end
application.
application
It
it
was
was
later
later
expanded
expanded
to
to
support
support
user
user
authentication
authentication
and
and
website
website
hosting
hosting
to
to
act
act
as
as
a
a
complete
complete
back
back
end
end
as
as
a
a
service.
service
In
in
2014,
2014
it
it
was
was
acquired
acquired
by
by
Google,
google
where
where
it
it
was
was
further
further
expanded
expanded
with
with
serverless
serverless
computing
computing
via
via
Cloud
cloud
functions,
functions
push
push
notifications
notifications
via
via
Cloud
cloud
Messaging,
messaging
and
and
other
other
Google
google
services
services
like
like
Analytics
analytics
and
and
AdMob.
admob
In
in
2017,
2017
Google
google
acquired
acquired
Fabric
fabric
from
from
Twitter
twitter
and
and
also
also
launched
launched
a
a
new
new
document
document
database
database
called
called
Firestore
firestore
to
to
support
support
a
a
wider
wider
range
range
of
of
applications.
applications
Most
most
importantly
importantly
though,
though
Firebase
firebase
provides
provides
software
software
development
development
kits
kits
for
for
virtually
virtually
every
every
platform
platform
to
to
manage
manage
and
and
scale
scale
this
this
infrastructure
infrastructure
with
with
little
little
to
to
no
no
back
back
end
end
code.
code
To
to
build
build
a
a
full
full
stack
stack
application
application
right
right
now,
now
create
create
a
a
free
free
Firebase
firebase
project,
project
then
then
open
open
up
up
some
some
code
code
for
for
your
your
favorite
favorite
front
front
end
end
platform.
platform
Install
install
the
the
Firebase
firebase
SDK,
sdk
then
then
connect
connect
it
it
to
to
the
the
cloud
cloud
with
with
your
your
project
project
credentials.
credentials
Once
once
initialized,
initialized
you
you
can
can
start
start
interacting
interacting
with
with
your
your
back
back
end
end
resources.
resources
1st,
1st
we
we
might
might
wanna
wanna
know
know
if
if
the
the
user
user
is
is
logged
logged
in
in
or
or
not.
not
We
we
can
can
listen
listen
to
to
the
the
current
current
User
user
with
with
the
the
on
on
auth
auth
state
state
changed
changed
function.
function
The
the
user
user
will
will
be
be
null
null
at
at
first,
first
but
but
we
we
can
can
log
log
them
them
in
in
with
with
their
their
Google
google
account
account
using
using
the
the
sign
sign
in
in
with
with
pop
pop
up
up
function.
function
Now
now
that
that
we
we
have
have
a
a
user
user
logged
logged
in,
in
we
we
might
might
want
want
on
on
to
to
store
store
something
something
in
in
a
a
database.
database
We
we
can
can
make
make
a
a
reference
reference
to
to
a
a
document
document
in
in
Firestore,
firestore
then
then
write
write
JSON
json
data
data
to
to
it
it
while
while
making
making
a
a
reference
reference
to
to
the
the
current
current
user's
user's
user
user
ID.
id
But
but
the
the
amazing
amazing
thing
thing
is
is
that
that
we
we
can
can
Listen
listen
to
to
updates
updates
to
to
that
that
data
data
in
in
real
real
time
time
by
by
simply
simply
referencing
referencing
the
the
document
document
using
using
the
the
on
on
snapshot
snapshot
function.
function
Anytime
anytime
the
the
data
data
changes
changes
on
on
the
the
server,
server
it'll
it'll
be
be
did
did
in
in
the
the
UI
ui
with
with
0
0
latency,
latency
thanks
thanks
to
to
optimistic
optimistic
updates
updates
out
out
of
of
the
the
box.
box
But
but
that
that
doesn't
doesn't
seem
seem
very
very
secure.
secure
How
how
do
do
we
we
control
control
who
who
has
has
access
access
to
to
the
the
database?
database
FHIR
fhir
Store
store
security
security
rules
rules
allow
allow
you
you
to
to
define
define
access
access
control
control
logic
logic
in
in
a
a
simple
simple
readable
readable
format
format
with
with
common
common
expression
expression
language.
language
You
you
can
can
do
do
almost
almost
everything
everything
from
from
the
the
front
front
end,
end
but
but
when
when
you
you
do
do
need
need
to
to
run
run
server
server
side
side
code,
code
Firebase
firebase
This
this
Cloud
cloud
Functions
functions
provides
provides
a
a
tightly
tightly
integrated
integrated
serverless
serverless
back
back
end.
end
Not
not
only
only
does
does
it
it
allow
allow
you
you
to
to
create
create
HTTP
http
endpoints,
endpoints
but
but
functions
functions
can
can
also
also
They'll
they'll
be
be
triggered
triggered
in
in
the
the
background
background
based
based
on
on
events
events
that
that
happen
happen
in
in
your
your
project,
project
like
like
rights
rights
to
to
the
the
database,
database
user
user
authentication
authentication
events,
events
file
file
uploads,
uploads
and
and
many
many
others.
others
When
when
developing
developing
locally,
locally
Firebase
firebase
has
has
an
an
emulator
emulator
suite
suite
to
to
run
run
and
and
test
test
your
your
code
code
in
in
a
a
mock
mock
environment.
environment
When
when
it's
it's
time
time
to
to
deploy,
deploy
run
run
the
the
Firebase
firebase
deploy
deploy
command
command
to
to
push
push
your
your
code
code
to
to
the
the
cloud
cloud
and
and
allocate
allocate
infrastructure
infrastructure
to
to
run
run
it
it
at
at
any
any
scale.
scale
This
this
has
has
been
been
Firebase
firebase
in
in
100
100
seconds.
seconds
If
if
you're
you're
ready
ready
to
to
build
build
a
a
serious
serious
app
app
with
with
Firebase,
firebase
I
i
can
can
think
think
of
of
no
no
better
better
place
place
to
to
learn
learn
than
than
Fireship
fireship
IO,
io
the
the
web
web
app
app
I
i
built
built
with
with
Firebase
firebase
to
to
teach
teach
Firebase.
firebase
Thanks
thanks
for
for
watching
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
In this video, a representative from some company called reminded the audience about some tools created by James Tamplin and Andrew Lee in 2011 that allow developers to manage non- chat application data. The tool is now expanded to support user authentication and website hosting, and the representative also discusses the use of Azure functions and AWS services like Analytics and Ad points. The tool provides software development kits for managing and scaling infrastructure with little to no back-end code, and the representative mentions a secure framework called FHIR Store security rules.
Firebase in 100 Seconds
Firebase, a suite of tools for building apps and managing infrastructure on top of Google Cloud Platform. It was founded by James Tamplin and Andrew Lee in 2011, after they discovered that developers were using their chat software to manage non chat application data. This inspired them to create a real time database, a JSON database that Matically stays in sync with your front end application. It was later expanded to support user authentication and website hosting to act as a complete back end as a service. In 2014, it was acquired by Google, where it was further expanded with serverless computing via Cloud functions, push notifications via Cloud Messaging, and other Google services like Analytics and AdMob. In 2017, Google acquired Fabric from Twitter and also launched a new document database called Firestore to support a wider range of applications. Most importantly though, Firebase provides software development kits for virtually every platform to manage and scale this infrastructure with little to no back end code. To build a full stack application right now, create a free Firebase project, then open up some code for your favorite front end platform. Install the Firebase SDK, then connect it to the cloud with your project credentials. Once initialized, you can start interacting with your back end resources. 1st, we might wanna know if the user is logged in or not. We can listen to the current User with the on auth state changed function. The user will be null at first, but we can log them in with their Google account using the sign in with pop up function. Now that we have a user logged in, we might want on to store something in a database. We can make a reference to a document in Firestore, then write JSON data to it while making a reference to the current user's user ID. But the amazing thing is that we can Listen to updates to that data in real time by simply referencing the document using the on snapshot function. Anytime the data changes on the server, it'll be did in the UI with 0 latency, thanks to optimistic updates out of the box. But that doesn't seem very secure. How do we control who has access to the database? FHIR Store security rules allow you to define access control logic in a simple readable format with common expression language. You can do almost everything from the front end, but when you do need to run server side code, Firebase This Cloud Functions provides a tightly integrated serverless back end. Not only does it allow you to create HTTP endpoints, but functions can also They'll be triggered in the background based on events that happen in your project, like rights to the database, user authentication events, file uploads, and many others. When developing locally, Firebase has an emulator suite to run and test your code in a mock environment. When it's time to deploy, run the Firebase deploy command to push your code to the cloud and allocate infrastructure to run it at any scale. This has been Firebase in 100 seconds. If you're ready to build a serious app with Firebase, I can think of no better place to learn than Fireship IO, the web app I built with Firebase to teach Firebase. Thanks for watching and I will see you in the next one.
In this video, a representative from some company called reminded the audience about some tools created by James Tamplin and Andrew Lee in 2011 that allow developers to manage non- chat application data. The tool is now expanded to support user authentication and website hosting, and the representative also discusses the use of Azure functions and AWS services like Analytics and Ad points. The tool provides software development kits for managing and scaling infrastructure with little to no back-end code, and the representative mentions a secure framework called FHIR Store security rules.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : Firebase in 100 Seconds 
        and a small summary : In this video, a representative from some company called reminded the audience about some tools created by James Tamplin and Andrew Lee in 2011 that allow developers to manage non- chat application data. The tool is now expanded to support user authentication and website hosting, and the representative also discusses the use of Azure functions and AWS services like Analytics and Ad points. The tool provides software development kits for managing and scaling infrastructure with little to no back-end code, and the representative mentions a secure framework called FHIR Store security rules.
        [/INST]
        
        Generate the video : Firebase, a suite of tools for building apps and managing infrastructure on top of Google Cloud Platform. It was founded by James Tamplin and Andrew Lee in 2011, after they discovered that developers were using their chat software to manage non chat application data. This inspired them to create a real time database, a JSON database that Matically stays in sync with your front end application. It was later expanded to support user authentication and website hosting to act as a complete back end as a service. In 2014, it was acquired by Google, where it was further expanded with serverless computing via Cloud functions, push notifications via Cloud Messaging, and other Google services like Analytics and AdMob. In 2017, Google acquired Fabric from Twitter and also launched a new document database called Firestore to support a wider range of applications. Most importantly though, Firebase provides software development kits for virtually every platform to manage and scale this infrastructure with little to no back end code. To build a full stack application right now, create a free Firebase project, then open up some code for your favorite front end platform. Install the Firebase SDK, then connect it to the cloud with your project credentials. Once initialized, you can start interacting with your back end resources. 1st, we might wanna know if the user is logged in or not. We can listen to the current User with the on auth state changed function. The user will be null at first, but we can log them in with their Google account using the sign in with pop up function. Now that we have a user logged in, we might want on to store something in a database. We can make a reference to a document in Firestore, then write JSON data to it while making a reference to the current user's user ID. But the amazing thing is that we can Listen to updates to that data in real time by simply referencing the document using the on snapshot function. Anytime the data changes on the server, it'll be did in the UI with 0 latency, thanks to optimistic updates out of the box. But that doesn't seem very secure. How do we control who has access to the database? FHIR Store security rules allow you to define access control logic in a simple readable format with common expression language. You can do almost everything from the front end, but when you do need to run server side code, Firebase This Cloud Functions provides a tightly integrated serverless back end. Not only does it allow you to create HTTP endpoints, but functions can also They'll be triggered in the background based on events that happen in your project, like rights to the database, user authentication events, file uploads, and many others. When developing locally, Firebase has an emulator suite to run and test your code in a mock environment. When it's time to deploy, run the Firebase deploy command to push your code to the cloud and allocate infrastructure to run it at any scale. This has been Firebase in 100 seconds. If you're ready to build a serious app with Firebase, I can think of no better place to learn than Fireship IO, the web app I built with Firebase to teach Firebase. Thanks for watching and I will see you in the next one.
        