Skip to content

Web push notifications demo using Firebase Cloud Messaging

License

Notifications You must be signed in to change notification settings

mkalygin/fcm-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcm-demo

Web push notifications demo using Firebase Cloud Messaging.

How to run

  1. Setup config for your Firebase project in public/app.js and public/firebase-messaging-sw.js.
  2. Install dependencies and setup environment variables:
$ yarn install
$ echo FCM_SERVER_KEY=*your Firebase project server key* > .env
$ yarn start
  1. Navigate to http://localhost:1337 in your browser

About

Web push notifications demo using Firebase Cloud Messaging

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published