This is an Nestjs boilerplate package..
Installation
Install with yarn or npm:
yarn
ornpm
:
# yarn
yarn add nestjs-paghiper
# npm
npm i nestjs-paghiper --save
# pnpm
pnpm add nestjs-paghiper --save
Usage example:
// common.module.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PaghiperModule } from 'nestjs-paghiper';
import { CommonService } from './common.service';
@Module({
imports: [
PaghiperModule.register({
axiosOptions: {
baseURL: process.env.API_PAGHIPER_BASE_URL,
},
authorization: {
apiKey: process.env.API_PAGHIPER_API_KEY,
token: process.env.API_PAGHIPER_API_TOKEN,
},
notification_url: process.env.notification_url,
}),
],
providers: [CommonService],
})
export class CommonModule {}
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a
Or buy me a coffee 🙌🏾
📝 License
Copyright © 2022 Hebert F Barros.
This project is MIT licensed.