A secure, full-stack password management application built with React, Express.js, and MongoDB. Store and manage your passwords locally with database backup functionality.
- π Secure Password Storage - Store passwords locally with MongoDB backup
- ποΈ Password Visibility Toggle - Show/hide passwords with eye icon
- π One-Click Copy - Copy site names, usernames, and passwords to clipboard
- β Form Validation - Ensures all fields are filled before saving
- π¨ Modern UI - Beautiful gradient background with responsive design
- π Real-time Updates - Instant display of saved passwords
- πΎ Dual Storage - Local storage + MongoDB database for reliability
Frontend:
- React.js
- Tailwind CSS
- Lord Icons
- Clipboard API
Backend:
- Node.js
- Express.js
- MongoDB
- CORS enabled
- Node.js installed
- MongoDB running locally on port 27017
-
Clone the repository
git clone https://github.com/yourusername/password-manager.git cd password-manager -
Install Frontend Dependencies
npm install
-
Install Backend Dependencies
cd backend npm install express dotenv mongodb body-parser cors -
Start MongoDB Make sure MongoDB is running on
mongodb://localhost:27017 -
Start Backend Server
cd backend node server.js -
Start Frontend
npm run dev
-
Open your browser Navigate to
http://localhost:5173
- Add Password: Fill in website name, username, and password, then click "AddPassword"
- View Passwords: All saved passwords appear in the table below
- Copy Data: Click the copy icon next to any field to copy it to clipboard
- Toggle Password: Click the eye icon to show/hide password while typing
password-manager/
βββ src/
β βββ components/
β β βββ Manager.jsx # Main password manager component
β βββ ...
βββ backend/
β βββ server.js # Express server with MongoDB
βββ public/
β βββ img/ # Eye icons for password toggle
βββ README.md
GET /- Retrieve all saved passwordsPOST /- Save a new password entryDELETE /- Delete a password entry
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This is a learning project. For production use, implement proper encryption, authentication, and security measures for password storage.
This project is open source and available under the MIT License.
- Password encryption
- User authentication
- Password strength checker
- Export/Import functionality
- Search and filter passwords
- Delete individual passwords
**You can Add features But PLZ DON'T RUIN THE CODE ! Built with β€οΈ using React, Express, and MongoDB
Don't forget to star β this repository if you found it helpful!