tgl-profile-module
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tgl-profile-module

Weekly Downloads

1

Version

1.0.1

License

UNLICENSED

Unpacked Size

34.4 kB

Total Files

54

Last publish

Collaborators

  • john_vnvn