twitter: @onurbraga
instagram: @brnbraga

Code Example: https://github.com/brunobraga95/ultimate-firebase-authentication-react-hooks/tree/master

Hello Everyone, its Bruno here.

For the last few months I have been working on a side project with a friend. Because of some prior experience with firebase and react I decided to choose those two as part of my stack. Specially, I decided to use firebase to handle authentication.

After spending some time with it, I came up with a very good set up that I would like to share with you all. It is an encapsulation of the most common methods provided by firebase, which will make ramping up your future…


“Because these are good practices”. More and more I have heard this answer being thrown around as an “end of conversation” tactic and I believe it is time for us to challenge the idea that everything in Software Development can be boiled down to step by step rules that can be followed at all times.

In my 4 years of industry, I have heard different “universal truths” that go hand in hand with Newton’s gravitational law. Here are some examples that I can think of.

  1. If your function has more than X lines, you are doing something wrong.
  2. Good code…


twitter: @onurbraga
instagram: @brnbraga

If you want a quick (and good) code to Export and Import your DB from and to JSON, Nicolas Sturm did a great job by using this article and improving what it introduces. https://gist.github.com/sturmenta/cbbe898227cb1eaca7f85d0191eaec7e

That being said, you should still read it =).

Anyways….

As some of you already know, google has launched a few months ago it’s new Database called Cloud Firestore. It has a lot of similarities with the real-time database that we are used to.

Cloud firestore

The main difference is how the data is organized. While the real-time database works with a huge json…

Bruno Braga

Google Software Engineer. Interested in fitness, philosophy and cinema. Always follow your heart, as it knows you better.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store