nestjs-firebase-admin
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

codecov

CircleCI

Node.js build and publish package

Running Code Coverage

TypeScript Nestjs Free. Built on open source. Runs everywhere. GitHub Actions

Firebase Admin SDK for Nestjs 🔥

Installation

Install with yarn or npm: yarn or npm:

# yarn
yarn add nestjs-firebase-admin
# npm
npm i nestjs-firebase-admin --save
# pnpm
pnpm add nestjs-firebase-admin --save

Usage example

// common.module.ts
import { Module } from '@nestjs/common';

import { TypeOrmModule } from '@nestjs/typeorm';
import { AdminModule } from 'nestjs-firebase-admin';

import { CommonService } from './common.service';

@Module({
  imports: [
    AdminModule.register({
     credential: {
        projectId: 'my-project-id',
        clientEmail: 'my-client-email',
        privateKey: 'my-private-key',
      },
      databaseURL: 'https://my-project-id.firebaseio.com',
    }),
  ],
  providers: [CommonService],
})
export class CommonModule {}

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Or buy me a coffee 🙌🏾

📝 License

Copyright © 2023 Hebert F Barros.
This project is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i nestjs-firebase-admin

Weekly Downloads

66

Version

0.2.1

License

MIT

Unpacked Size

21.9 kB

Total Files

26

Last publish

Collaborators

  • tecnobert