Just a basic "library" to send notifications messages through Firebase
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.
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!