Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 705 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 705 Bytes

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!