Password Reset Web Application! This project is built with React, Node.js, and MongoDB. It allows users to securely reset their passwords using JWT authentication.
Register
: POST Data to MongoDB DatabaseLogin
: GET Data from MongoDB DatabaseForgot Password
: Mail Sent to Registered User's Mail ID using SMTP ProtocolJWT Token Generation
: For Secure user authenticationReset Password
: PUT Data to MongoDB DatabaseLogin
: using New Password
Email Validation
: Ensure user input email requirements for user securityPassword Validation
: Ensure user input password requirements for user securityJWT Token Expiry
: After a Password Reset expiration for enhanced security
- JWT Authentication: Secure user authentication with JSON Web Tokens.
- Password Reset: Seamless password reset functionality for users.
- Email Notifications: Nodemailer integration to send password reset emails.
- JWT Token Expiry: Automatic expiration of JWT tokens for enhanced security.
- Signup: User registration with email and password.
- Authorize Email: Validate email addresses to ensure they are legitimate.
- Password Validation: Ensure strong password requirements for user security.
- React Frontend: Modern and intuitive user interface built with React.
- Node.js Backend: Robust backend server developed with Node.js.
- MongoDB Integration: Integration with MongoDB for efficient data storage.
-
Clone the Repository:
git clone https://github.com/your-username/password-reset-web-app.git
-
Navigate to the Project Directory:
cd password-reset-web-app
-
Install Dependencies for the Frontend:
cd client npm install
-
Install Dependencies for the Backend:
cd .. cd server npm install
-
Set up Environment Variables:
-
Create a
.env
file in theserver
directory. -
Define the following variables:
PORT=8888 MONGODB_URI=<your-mongodb-uri> JWT_SECRET=<your-jwt-secret>
-
-
Start the Backend Server:
cd server npm start
-
Start the Frontend Development Server:
cd client npm start
-
Visit
http://localhost:3000
in your web browser to access the application.