Skip to content

Conversation

@jyothi-samberpu
Copy link

Pull Request for Stock Analyzer

Add Forgot Password functionality using Firebase authentication

Contributor Details
Name: Jyothi Samberpu
GitHub ID: jyothi-samberpu
LinkedIn Username : [jyothi-samberpu]
LinkedIn Profile URL: https://www.linkedin.com/in/jyothi-s-ab801124b/
Email ID (for communication): [email protected]

Describe Your Changes
Added ForgotPassword.jsx component for users to reset their password.
Updated firebase.js configuration for modular Firebase initialization.
Implemented mock Firebase handling to prevent app crashes if Firebase is not configured.

What Are The Files You Have Changed

src/components/ForgotPassword.jsx
src/components/firebase.js
src/App.js
package.json
package-lock.json
.env

How Has This Been Tested?
Tested by navigating to /forgot-password route and submitting a test email.
Verified that the reset email mock confirmation appears correctly.
App does not crash even if Firebase is not configured.

Type of Change
New feature (adds new functionality)
Bug fix (fixes Firebase config crash with mock
Checklist

My code follows the project’s guidelines and best practices.

I have performed a self-review of my code.
I have added meaningful comments where necessary.
I have updated documentation wherever applicable.
My changes do not generate any new warnings or errors.
I have included screenshots.
Screenshot 2025-09-20 002557

@github-actions
Copy link

Thanks for opening this Pull Request! A maintainer will review it shortly. Please make sure you've followed all contribution guidelines.

Join our Discord Community for discussions, questions, and real-time collaboration!

@SrigadaAkshayKumar
Copy link
Owner

@jyothi-samberpu could you please explain what you have done how this feature will work also provide a video demo by simulating this feature

@jyothi-samberpu
Copy link
Author

jyothi-samberpu commented Sep 22, 2025 via email

@jyothi-samberpu
Copy link
Author

jyothi-samberpu commented Sep 23, 2025

Hi @SrigadaAkshayKumar,

Here’s a quick explanation of how the Forgot Password feature works:
Added a ForgotPassword.jsx component with a form where users can enter their registered email.
On submit, the app uses Firebase Authentication’s sendPasswordResetEmail method to send a password reset link.
Once the email is sent, users can reset their password securely via the link they receive.
I’ve also included a demo in this YouTube link showing the mail flow and confirmation:
🔗
https://youtu.be/QhjlWjF45KA?si=KQ80gKS_xrrZyHcM

@jyothi-samberpu
Copy link
Author

@SrigadaAkshayKumar
Sorry I have given the wrong video links in previous message. Now I updated the links, you can view my contribution. This is the YouTube video link
https://youtu.be/QhjlWjF45KA?si=KQ80gKS_xrrZyHcM

This is the drive link
https://drive.google.com/file/d/1MCSpt6MdnB0m24qYNoTQ-xtAl_eXBc3T/view?usp=drivesdk

Thoroughly go through the contribution I made and tell me if there is anything that I can change.

@SrigadaAkshayKumar
Copy link
Owner

@jyothi-samberpu actually it is fine but it as to show the message "Login successful" right then after it has to go to the home page

@jyothi-samberpu
Copy link
Author

jyothi-samberpu commented Sep 24, 2025 via email

@jyothi-samberpu jyothi-samberpu closed this by deleting the head repository Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants