Firebase Cloud Messaging Sample
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
html Initial commit Jun 21, 2017
js Initial commit Jun 21, 2017
json Initial commit Jun 21, 2017
png Initial commit Jun 21, 2017
README.md Add README Jun 21, 2017
server.js Initial commit Jun 21, 2017

README.md

Firebase Cloud Messaging Sample for both Server and Client

Get GCM Sender ID and FCM Server Key in Firebase console.

Then,

% GCM_SENDER_ID={what you got} \
FCM_SERVER_KEY={what you got} \
node server.js