Firebase React Authentication Tutorial For Beginners – Private Route With Hooks

Sometimes you just need to make a fast prototype and you don’t want to mess with back end, authentication, authorization and all of that.
Here is where Google’s firebase can help you.
In this tutorial I’ll show you how to connect your react app with Firebase authentication module.
It is Javascript tutorial for beginners. We are using React with hooks, React Router, React Router Dom and Firebase.
We’ll use Firebase Authentication module to handle login/sign up and React router to manage routing.
Code for this tutorial: