https://github.com/edtonatto/password-manager
API that generate and store passwords
https://github.com/edtonatto/password-manager
api nestjs password-manager typescript
Last synced: about 1 month ago
JSON representation
API that generate and store passwords
- Host: GitHub
- URL: https://github.com/edtonatto/password-manager
- Owner: EdTonatto
- License: mit
- Created: 2023-04-01T17:44:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T14:43:49.000Z (almost 3 years ago)
- Last Synced: 2025-05-15T10:09:52.215Z (about 1 year ago)
- Topics: api, nestjs, password-manager, typescript
- Language: TypeScript
- Homepage:
- Size: 698 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Password Manager
Password Manager is an API Rest to generate and store users passwords.
## Objective
- User authentication on API to protect some endpoints and data.
- Generate random password using an [library](https://github.com/EdTonatto/generate-random-secure-password-ts)
- Store this password on database. Users may be able to create, update, delete and list all passwords.
## Specifications
API developed in NodeJS with TypeScript using [NestJS](https://docs.nestjs.com/) framework, [Jest](https://jestjs.io/docs/getting-started) for unit tests and [MongoDB](https://www.mongodb.com/docs/) as database.
## How to use
1. 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
```
2. To execute unit tests run `npm run test` on terminal or `npm run test:cov` to generate coverage.
2. To run API on docker run `docker-compose up -d --build` on terminal.
## Endpoints