Coding

What is Firebase – academind.com Snippet

  • 00:00:00 what is firebase let's have a look at
  • 00:00:03 our traditional setup of client and
  • 00:00:05 server which exchange requests and
  • 00:00:07 responses a firebase lives on the server
  • 00:00:11 it's a server-side service managed
  • 00:00:16 service for you where you have to write
  • 00:00:18 no or very little server-side code to
  • 00:00:21 get features like a database of
  • 00:00:23 indication and so on let's have a closer
  • 00:00:26 look so which services is firebase all
  • 00:00:28 about its these core services here we
  • 00:00:32 get real-time databases so manage
  • 00:00:34 databases which you can conveniently
  • 00:00:36 access why are the REST API or an SDK
  • 00:00:40 which store and synchronize data and
  • 00:00:43 where you don't need to write any
  • 00:00:44 server-side code we also get
  • 00:00:46 authentication as a service where we can
  • 00:00:49 conveniently create users and add a user
  • 00:00:51 log in we can use various providers like
  • 00:00:54 Google Facebook or store passwords and
  • 00:00:57 emails on our own we can access this
  • 00:00:59 through the REST API or the SDK and here
  • 00:01:01 we also don't need any server-side code
  • 00:01:04 and if we use the SDK the front-end part
  • 00:01:07 is also managed for us so storing this
  • 00:01:10 token and so on now we also get storage
  • 00:01:13 as a service so file storage where we
  • 00:01:15 can manage file up and downloads use the
  • 00:01:17 SDK to manage that no REST API and also
  • 00:01:20 don't need to write server-side code we
  • 00:01:22 also have analytics services where we
  • 00:01:24 can keep track of the behavior of our
  • 00:01:27 users and for example how often their
  • 00:01:29 apps crash because there's important
  • 00:01:31 firebase is a back-end service which you
  • 00:01:33 can of course use with both web apps and
  • 00:01:35 also mobile apps and there especially
  • 00:01:38 such crash analytics might be very
  • 00:01:41 interesting and finally we got cloud
  • 00:01:44 functions as a big block now in all the
  • 00:01:47 other services the big plus was that you
  • 00:01:49 don't need to write server-side code but
  • 00:01:51 sometimes you got that special logic you
  • 00:01:54 wanna have you wanna write and you wanna
  • 00:01:56 run on a server and you can then write
  • 00:01:58 cloud functions which is just no J's
  • 00:02:01 code that is executed on demand where
  • 00:02:03 you only pay on the Mond it only runs
  • 00:02:05 when it's needed and you can define when
  • 00:02:08 it runs and what it runs therefore
  • 00:02:11 the big advantage of firebase courses
  • 00:02:14 that security and all these resources
  • 00:02:15 are managed for you you don't have to
  • 00:02:17 worry about that it's really scalable
  • 00:02:20 therefore and you only pay for what you
  • 00:02:22 need
  • 00:02:23 that is firebase