- Node.js (v14 or higher)
- MongoDB (MongoDB Atlas account)
- Google Chrome browser
- npm package manager
git clone https://github.com/Piyush-Deshmukh/password-manager.git
cd password-managercd backendnpm installCreate a .env file in the backend directory:
# MongoDB Atlas:
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/password-manager
# JWT Secret (use a strong random string)
JWT_SECRET=your-super-secret-jwt-key-here-make-it-long-and-random
# Server Port
PORT=5000Important: Replace your-super-secret-jwt-key-here-make-it-long-and-random with a strong, random secret key.
- Open Chrome and go to
chrome://extensions/ - Enable Developer mode (toggle in top right)
- Click Load unpacked
- Select your
extension/directory - The extension should now appear in your extensions list
cd backend
npm run devYou should see:
Server running on port 5000
DB connection successful.
Note: The project uses nodemon for auto-restart during development. For production, use node server.js
- Click the extension icon in Chrome toolbar
- Register a new account or login
- Navigate to any website with login forms
- Use the extension to save and auto-fill passwords
The backend includes the following npm scripts:
# Development mode with auto-restart
npm run dev
# Production mode
node server.jsThis project is for educational purposes. Please ensure compliance with relevant security and privacy regulations when deploying.





