Welcome to Password-Manager, a RESTful API to store your passwords safely and smoothly.
This Password-Manager REST API allows users to securely store and manage their passwords in a centralized database. With this API, users can create, update, delete, and retrieve their password records using HTTP methods. It provides a convenient and secure way to organize and access sensitive information.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- MongoDB installed and running
To install the Password-Manager, follow these steps:
-
Clone the repository:
git clone <repo-link>
-
Navigate to the project directory:
cd <app-directory>
-
Install dependencies:
npm install
-
Set up environment variables: To run this project, you will need to add the following environment variables to your .env file
HOST=
PORT=
DATABASE=
DATABASE_PASSWORD=
SECRET_KEY=
jwt secrete key
EXPIRE_IN=
jwt expired date
JWT_COOKIE_EXPIRES_IN=
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_HOST=
EMAIL_PORT=
-
Start the application:
npm run start
Once the application is up and running, you can visit http://localhost:<port>
or deployed link
in your api-testing tool like postman to explore the application
Password-Manager provides a RESTful API to performe various actions. You can find the API documentation here 🔗.
- User registration and authentication
- Sign up, Log in, Logout, Update, and reset password.
- crud operations for passwords to each user
- make a more-secure login approach
- replace mail transporter with real one
- set password generator