Skip to content

codinoob1/PasswordSaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Password Manager

A secure, full-stack password management application built with React, Express.js, and MongoDB. Store and manage your passwords locally with database backup functionality.

✨ Features

  • πŸ”’ 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

πŸ› οΈ Tech Stack

Frontend:

  • React.js
  • Tailwind CSS
  • Lord Icons
  • Clipboard API

Backend:

  • Node.js
  • Express.js
  • MongoDB
  • CORS enabled

πŸš€ Getting Started

Prerequisites

  • Node.js installed
  • MongoDB running locally on port 27017

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/password-manager.git
    cd password-manager
  2. Install Frontend Dependencies

    npm install
  3. Install Backend Dependencies

    cd backend
    npm install express dotenv mongodb body-parser cors
  4. Start MongoDB Make sure MongoDB is running on mongodb://localhost:27017

  5. Start Backend Server

    cd backend
    node server.js
  6. Start Frontend

    npm run dev
  7. Open your browser Navigate to http://localhost:5173

πŸ’» Usage

  1. Add Password: Fill in website name, username, and password, then click "AddPassword"
  2. View Passwords: All saved passwords appear in the table below
  3. Copy Data: Click the copy icon next to any field to copy it to clipboard
  4. Toggle Password: Click the eye icon to show/hide password while typing

πŸ“ Project Structure

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

πŸ”§ API Endpoints

  • GET / - Retrieve all saved passwords
  • POST / - Save a new password entry
  • DELETE / - Delete a password entry

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

⚠️ Security Note

This is a learning project. For production use, implement proper encryption, authentication, and security measures for password storage.

πŸ“ License

This project is open source and available under the MIT License.

🎯 Future Enhancements

  • 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!

About

mmmmmmmm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published