sur16-cse / notification-server

notification-server-push-notification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firebase push notification sdk backend

  • mvc structure
  • register token on firebase
  • duplicate token detected
  • send push notification messages to multiple devices
  • updateToken status with timestamp
  • send push notification to only those user which is active

package used

  • express
  • firebase-admin
  • body-parser

Credentials

  • Set up a Firebase Service Account that lets the Firebase Admin SDK authorize calls to FCM APIs. Open the Project Settings in the Firebase console and select the Service accounts tab. Choose ‘NodeJs' and click Generate new private key to download the configuration snippet.

About

notification-server-push-notification


Languages

Language:JavaScript 100.0%