Firebase Auth for React with Multi-level Roles is a React project designed to streamline user authentication using Firebase. The application includes features such as Google login, email/password authentication, and role-based access, distinguishing between admin and normal users. User data is stored in Firebase Firestore, and the application dynamically assigns roles upon login. Additionally, a password recovery option has been implemented to enhance user experience.
Google Login and Email/Password Authentication:
Role-Based Access Control:
Firestore Integration:
Dynamic Role Assignment:
Password Recovery:
Responsive UI with Tailwind CSS:
Create a Firebase Project:
Obtain Firebase Configuration:
src/firebaseConfig.js
.Enable Firestore:
Open the application in your preferred web browser.
Test various authentication methods and role assignments.
- React
- Firebase Authentication
- Firebase Firestore
- Tailwind CSS
## Contributions:
- Contributions are welcome! If you have ideas for improvements, new features, or bug fixes, feel free to submit a pull request.