devruhul/react-private-route-with-firebase-boilerplate
This is simple react app with react router, it is a simply show the 4 routes and if you are a logged in then you will see shipping page and if you are not logged in then first you have to log in and then you're automatically redirect the shipping route because it is a protected or private route.
JavaScript