Password Manager is an API Rest to generate and store users passwords.
- User authentication on API to protect some endpoints and data.
- Generate random password using an library
- Store this password on database. Users may be able to create, update, delete and list all passwords.
API developed in NodeJS with TypeScript using NestJS framework, Jest for unit tests and MongoDB as database.
- Create an .env file at the root directory with your values for the following variables:
MONGO_URL_CONNECTION=mongodb://your_mongodb/your_database JWT_SECRET=your_jwt_secret
- To execute unit tests run
npm run test
on terminal ornpm run test:cov
to generate coverage. - To run API on docker run
docker-compose up -d --build
on terminal.