Live Site: Live Website.
- Firebase: Create Project
- Create Web App
- Get Configuration
- Initialize Firebase
- Enable Auth Method
component/
- Create Login Component
- Create Register Component
- Create Route for LogIn and Register
hooks/useFirebase
- Set up sign in methode
- setup sign out methode
- user state
- Special Observer
- Return Neccessary Methods and states from useFirebase
src/context folder
- Create a auth context
- create context provider
- Set context provider context value
- use Auth Provider
- create useAuth Hook
- Create Private Route
- Set Private Route
- after login redirect user to their desired destination