[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-firebase-cloud-messaging)
## How to run
Install it and run:
```bash
npm install
npm run build
npm run dev
```
## Set your send id
set your `messagingSenderId` in `static/firebase-messaging-sw.js` and `utils/webPush.js`
Deploy it to the cloud with [now](https://zeit.co/now)([download](https://zeit.co/download))