8000 GitHub - fanfix/nestjs-firebase · GitHub 8000
[go: up one dir, main page]

Skip to content

fanfix/nestjs-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

0