@franjid/easy-firebase-notifications

1.0.1 • Public • Published

What is this?

Just a basic "library" to send notifications messages through Firebase

What do you need

First of all, you need to sign up on Firebase Cloud Messaging.

Then, set up a project and service account.

Save you PROJECT_ID key and your service-account.json file as you will need them later.

Example

I've included an example on how to use the library.

Remember to init the lib with your PROJECT_ID and the path to service-account.json.

Run:

node usageExample.js

And have fun sending your awesome notifications!

Package Sidebar

Install

npm i @franjid/easy-firebase-notifications

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

4.94 kB

Total Files

5

Last publish

Collaborators

  • franjid