Skip to content

Latest commit

 

History

History

nestjs-firebase

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

nestjs-firebase

Actions Status npm version

Install

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