Skip to content

indrasuthar07/PASS-MANAGER

Repository files navigation

🔐 Password Manager

A secure and efficient MERN-stack Password Manager web application built with React + Vite for the frontend and Express + MongoDB for the backend.
It allows users to safely store, manage, and access their passwords — all protected with encryption and a clean, responsive interface.

🔗 Live Demo: https://pass-manager-lite.vercel.app/
Screenshot 2025-07-27 041135

🚀 Tech Stack

  • Frontend: React (Vite), Tailwind CSS, Axios
  • Backend: Node.js, Express.js, MongoDB, Mongoose
  • Tools: ESLint, dotenv, CORS, bcrypt

✨ Features

  • 🔒 Secure Password Storage: Encrypted password management with MongoDB.
  • 🌐 User Authentication: Register and login securely with JWT.
  • 📋 Copy to Clipboard: Easily copy stored passwords.
  • Fast UI: Built with Vite for instant reloads and optimized builds.
  • 🎨 Modern Design: Fully responsive and intuitive interface.
  • 🧩 RESTful API Integration: Seamless backend communication with environment-based API URLs.

⚙️ Installation & Setup

1️⃣ Clone Repository

git clone https://github.com/indrasutahr07/PASS-MANAGER.git
cd password-manager

2️⃣ Setup Backend

cd backend
npm install

Create a .env file in the backend/ directory:

MONGO_URI=your_mongodb_connection_string
DB_NAME=your_db_name
PORT=5000
JWT_SECRET=your_secret_key

Run the backend:

npm start

3️⃣ Setup Frontend

cd frontend
npm install

Create a .env file in the frontend/ directory:

VITE_API_URL=https://pass-manager-lite.vercel.app/

Run the frontend:

npm run dev

🏗️ Deployment

🖥️ Backend (Express + MongoDB)

  • Deploy to Render, Railway, or Heroku.
  • Ensure CORS is configured properly.

🌐 Frontend (Vite + React)

  • Build production files:
    npm run build
  • Deploy the /dist folder to Vercel, Netlify, or your preferred static host.

⚠️ Environment Variables

  • Never commit .env files.
  • Set environment variables on your deployment platform.

🧩 Troubleshooting

  • CORS Errors: Ensure your backend allows requests from your frontend domain.
  • 🚫 Network Issues: Verify VITE_API_URL points to your deployed backend.
  • ⚙️ MongoDB Connection: Check your MONGO_URI and database access permissions.

👨‍💻 Author

Indar Suthar

About

i have created a app in which we can save our passwords

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published