9.0.2 • Published 2 years ago
@fanfix/nestjs-firebase v9.0.2
@fanfix/nestjs-firebase
Install
npm install @fanfix/nestjs-firebase
Usage
Please note that this version of nestjs-firebase uses the applicationDefault() credentials. If this is not what you want, you should consider using the original:
https://github.com/g59/nestjs-plugins/tree/main/packages/nestjs-firebase
@Module({
imports: [
FirebaseModule.forRoot(),
],
})
export class AppModule {}
// using in service class
export class Service {
constructor(
@InjectFirebaseAdmin() private readonly firebase: FirebaseAdmin,
) {}
}
Contributing
PRs accepted.
License
MIT © g59