Closed mukilan2815 closed 4 months ago
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our #24. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊
Remove the package-lock.json
from client and push a commit
Fixed , now check.
Completed that work.
Also use the variables, like process.env.VARIABLE_NAME
, but vite has some other format of declaring variables. I have attached the doc in the previous comment. Figure out how to declare the variables. And declare them in a .env
file.
used env file to store password and email. just check it out bro
@Swarnendu0123 Please check and close this PR
Resolved everything , but to verify that if user is signed in or not we can use localstorage?
We will not use local storage, we will use the Firebase directly. If we use local storage then it can be easily trackable. We don't want that!
can i merge ui alone first then i will implement the firebase logics in next pr?
can i merge ui alone first then i will implement the firebase logics in next pr?
Sure!
Description:
This pull request enhances the authentication flow of our application by integrating Firebase authentication and adding both email/password and Google Sign-In methods. The main focus is to provide users with a secure and seamless login experience while ensuring access control to protected pages.
Changes:
Implemented Firebase authentication for user management. Added both email/password authentication and Google Sign-In methods. Configured the application to require authentication for accessing protected pages. Modified navigation to restrict access to authenticated users only. Enhanced UI to guide users to sign in or sign up if not already authenticated.
Key Features:
Firebase Authentication Integration: Utilized Firebase Authentication services for secure user authentication.
Multiple Sign-In Options: Users can sign in using their email/password or through Google Sign-In.
Access Control: Restricted access to certain pages if the user is not authenticated, guiding them to sign in or sign up first.
Enhanced User Experience: Improved UI/UX to provide clear guidance for signing in or signing up.
Screenshots:
Additional Notes:
This implementation ensures:
Secure authentication using Firebase. Seamless user experience with multiple sign-in options. Proper access control to protected pages. Clear guidance for users to sign in or sign up.
Resolves
149