Server for firebase cloud messaging in java with Spring.
- 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.