Skip to content

curiosity-driven/push-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push notifications

Simple Web Push notifications demo.

See https://curiosity-driven.org/push-notifications for details.

Local

To start locally use:

npm install
npm start --gcm_sender_id=ID --gcm_sender_key=KEY

Where ID is project number taken from: https://console.developers.google.com/project and sender key from: https://console.developers.google.com/project/ABC/apiui/credential

It is necessary to enable Google Cloud Messaging for Chrome and Android: https://console.developers.google.com/project/ABC/apiui/apiview/googlecloudmessaging/overview https://console.developers.google.com/project/ABC/apiui/apiview/gcm_for_chrome/overview

Heroku

To deploy on Heroku:

Deploy