A server for communicating with Firebase Messaging
Put the Firebase Messaging service credentials at the location of ./data/creds.json
/register-token
allows the device to be registered to All Notifications
topic
Payload:
{
"token": "firebase_client_token"
}
/unregister-token
will un-register the device from the All Notifications
topic
Payload:
{
"token": "firebase_client_token"
}
/send
will send a notification to the All Notifications
topic
Payload:
{
"title": "Title of the notification",
"body": "Body of the notification",
"colour": "Hex value of the colour of the notification icon, optional!"
}
Mount the firebase creds to /NotifyServer/data