Skip to content

franckaragao/FCM-Push-Notification-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FCM - Firebase cloud Messaging

Server for firebase cloud messaging in java with Spring.

USAGE

  • Clone this project
  • First add your FCM API key in the application.properties file (my.fcm.key)
  • Run the SampleFcmApplication class to start the project.
  • Run app to registe FCM token in server. (https://github.com/FranckAJ/FCM-Sample-Android)
  • You can then make calls on the endpoints (push / pushall) to simulate sending notifications.
    • push: send notification to single app (first add)
    • pushAll: send notificatioin to all apps.