An open API service indexing awesome lists of open source software.

https://github.com/jefferson1104/nestjs-auth

Authentication API developed with typescript and the nest.js backend framework.
https://github.com/jefferson1104/nestjs-auth

nestjs nodejs typescript

Last synced: 3 months ago
JSON representation

Authentication API developed with typescript and the nest.js backend framework.

Awesome Lists containing this project

README

        


Nest Logo

Autenticação de usuário utilizando JWT (Json Web Token) e NestJS



technology
technology
technology


## About this project
An API developed with the Nest.js framework and typescript, a basic example of an authentication system using JWT.

![screenshot](./.github/screenshot/screenshot.png)

## Run the project
```bash
# Clone this repository
$ git clone https://github.com/jefferson1104/nestjs-auth.git

# Running this API
$ npm run start:dev
```

## Generate a password with bcrypt
```bash
# Run the command below in the project terminal
node generate-password.js PASSWORD

## E X A M P L E
# comand: node generate-password.js 123456
# output: $2b$10$2QHAEW0XFWmCrxeJGBKa2eSXXvPcsWp.WWsohEfqzn1LWs/4NLvrS
```