Drawn2Shoe is a user-friendly e-commerce platform. It offers customers the ability to purchase and personalize their shoes. The platform's intuitive interface ensures seamless navigation and usability across a variety of devices.
This PR introduces a Forgot Password feature to the website, allowing users to reset their passwords by receiving a reset link via email. The main changes include the creation of a ForgotPassword component, integration with the backend API, and user feedback through toast notifications and a confirmation message.
Changes
ForgotPassword Component:
Created a new ForgotPassword component using React.
Added a form with an email input field for users to request a password reset.
Integrated axios for making API requests to the backend.
State Management:
Utilized React's useState to manage the email input and success message state.
Description
This PR introduces a Forgot Password feature to the website, allowing users to reset their passwords by receiving a reset link via email. The main changes include the creation of a
ForgotPassword
component, integration with the backend API, and user feedback through toast notifications and a confirmation message.Changes
ForgotPassword Component:
State Management:
API Integration:
User Feedback:
UI Enhancements:
Before:
After:
How to test
Before testing , add a valid mail credentials in .env file , mail should be with two-factor-auth on.
Issue #144: Implement Forgot Password Feature