@nicholas.braun/nestjs-firebase
v9.0.1
Published
@nestjs with firebase
Downloads
44
Readme
nestjs-firebase
This will not be maintained
This is a fork of https://github.com/g59/nestjs-plugins/tree/main/packages/nestjs-firebase which does not yet support nestjs version 9.
Install
For nestjs version 9:
npm install @nicholas.braun/nestjs-firebase
For nestjs version 8:
npm install nestjs-firebase
Usage
@Module({
imports: [
FirebaseModule.forRoot({
googleApplicationCredential: "path/to/credential file.json",
}),
],
})
export class AppModule {}
// using in service class
export class Service {
constructor(
@InjectFirebaseAdmin() private readonly firebase: FirebaseAdmin,
) {}
}
Contributing
PRs accepted.
License
MIT © g59