Skip to content
No description, website, or topics provided.
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit efa96e3 Oct 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Oct 14, 2018
README.md Add link to README Oct 16, 2018
index.html Initial commit Oct 14, 2018
main.js Initial commit Oct 14, 2018
package-lock.json Initial commit Oct 14, 2018
package.json Initial commit Oct 14, 2018
server.js Update server.js to match article Oct 14, 2018
style.css Initial commit Oct 14, 2018
variables.env Initial commit Oct 14, 2018

README.md

Realtime Web Notifications Demo

This application sends a web notification whenever there is push activity on a GitHub repo. Article: https://pusher.com/tutorials/html5-notification-api

Getting Started

  1. Clone this repository and cd into it.
  2. Execute npm install to download dependencies.
  3. See tutorial for notes on how to get the required keys from Pusher and how to set up the webhook for GitHub.
  4. Open main.js and variables.env and update them with your Pusher credentials.
  5. Run node server.js to start the Express server.
  6. Run http-server -p 5001 to serve the app frontend on port 5001.
  7. Open up http://localhost:5001 in your web browser.

Pre-requisites

Built With

Licence

MIT

You can’t perform that action at this time.