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.

Home Page:https://fir-auth-ruhul.web.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Private Route With Firebase Boilerplate

This project Live link.

Getting started

First clone this repository
Then go to clone folder/directory, after this

Run npm install

After this you can

Run npm start

If you're planning to chnage your remote repo then follow this doc Manage remote repository

then build you application using following command

Run npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

About

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.

https://fir-auth-ruhul.web.app/


Languages

Language:JavaScript 78.3%Language:HTML 14.4%Language:CSS 7.3%