tgl-profile-module
v1.0.1
Published
```sh yarn install tgl-profile-module ``` # Usage ```typescript
Downloads
2
Readme
Installation
yarn install tgl-profile-module
Usage
// import module nestjs
import { ProfileModule } from 'tgl-profile-module';
ProfileModule.register({
saltRound: Number(process.env.SALT_ROUND),
jwtSecret: process.env.JWT_SECRET,
expiresIn: Number(process.env.EXPIRES_IN),
}),
// call service login
this.profileService.login(this.accountRepository, 'userName','password')
Description
Package profile module:
- Register account
- Login