-
User Registration
- Initializes Firebase using the provided Firebase configuration.
- Allows users to register with email and password.
-
User Login
- Validates user credentials against Firebase Authentication.
- Firebase
- Firebase SDK for Authentication.
- Firestore for potential data storage.
This feature of the project demonstrates the implementation of Firebase Authentication for user registration and login functionalities, as well as client-side form validation for secure and user-friendly interactions.
-
Signup Form Validation
- Validates input fields (name, email, password, and confirm password).
- Checks for valid email format.
- Ensures password length is at least 8 characters.
- Verifies that the password and confirm password fields match.
-
Login Form Validation
- Validates email format.
- Checks that the password length meets the required minimum.
-
Error Display
- Displays specific error messages for invalid inputs.
- Hides error messages when inputs are corrected.
- Toggle Password Visibility
- Allows users to toggle between showing and hiding their passwords for convenience.