This project demonstrates a simple user authentication system using Firebase with HTML, JavaScript, and CSS. It allows users to register, log in, and securely manage their authentication using Firebase Authentication services.
- User Registration
- User Login
- Password Reset
- Firebase Authentication with Email/Password
- Firebase project
- HTML, JavaScript, and CSS knowledge
- Firebase SDK (JavaScript)
-
Clone the repository:
git clone <repository-url> cd FirebaseLogin
-
Set up Firebase:
- Create a Firebase project from the Firebase Console.
- Enable Email/Password authentication in the Authentication section.
- Go to Project Settings, get the Firebase configuration, and add it to your
firebase-config.jsfile.
-
Include Firebase SDK in your project:
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-app.js"></script> <script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-auth.js"></script>
-
Customize the authentication logic in
auth.js. -
Run the project:
Simply open
index.htmlin a browser.
├── index.html
├── styles.css
├── auth.js
├── firebase-config.js
└── README.md
This project is licensed under the MIT License.