A secure, fully responsive password management app using React, Express, and MongoDB. Includes form validation, toast notifications with React Toastify, and local MongoDB storage. This version is set up to run locally and for online version you can refer the below link
PassVault is a secure and fully responsive password management application built with React, Express, and MongoDB. This version allows users to store site names, usernames, and passwords, with data persisted in a MongoDB database. It includes form validation for site URLs, usernames, and strong passwords, and provides real-time feedback using React Toastify. This version is designed to run locally and requires MongoDB on your personal computer.
Clone the repository:
git clone https://github.com/MrRuhanshaikh/passvault-db.git
Navigate to the project directory:
cd passvault-db
Backend Setup:
Navigate to the backend
folder:
cd backend
Update MongoDB Connection:
Open server.js
and update the MongoDB connection string to match your local MongoDB setup.
Install server-side dependencies:
npm install
Start the Express server:
npm start
Frontend Setup:
Navigate to the client
folder:
cd ../client
Install client-side dependencies:
npm install
Start the React development server:
npm start
Open your browser at:
http://localhost:3000
client/src/components
: Contains React components such as Form
, Toast
, and CredentialList
.client/src/App.js
: Main React component managing application logic.backend/routes
: Contains API routes for managing credentials.backend/models
: Defines MongoDB models for credentials.backend/server.js
: Server entry point and MongoDB connection configuration.git checkout -b feature-branch-name
).git commit -m 'Add some feature'
).git push origin feature-branch-name
).