1.0.1 • Published 5 years ago
@franjid/easy-firebase-notifications v1.0.1
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.jsAnd have fun sending your awesome notifications!