Coder Social home page Coder Social logo

fsojitra / web-push-notification-using-pushjs.org-with-nodejs-html-express.js-and-with-click-event-on-it Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 1.0 50 KB

This is example of Web Push Notification Using Pushjs.org with Nodejs,HTML,express.js

License: MIT License

JavaScript 64.78% HTML 35.22%
nodejs push-notifications web-notifications browser-notifications notifications notification expressjs javascript notifier pushjs

web-push-notification-using-pushjs.org-with-nodejs-html-express.js-and-with-click-event-on-it's Introduction

Web-Push-Notification-Using-Pushjs.org-with-Nodejs-HTML-express.js

This is example of Web Push Notification Using Pushjs.org with Nodejs,HTML,express.js. I have also put click event on notification that will change text color randomly.

If you want to use Pushjs.org in your project

clone or download from

you just need to add push.js and serviceWorker.js in your public folder and then include it in your HTML file.

Installation in local

You need to have installed Node.js, NPM in your System

To Install

npm install

Run

nodemon server.js

Code is Running on

you have to allow notification then you can click on button "Click me for notification" and you will get notification when you click on notification text below that will change color randomly as i set onClick event on Notification

You can customize your notification as you want check below link

๐ŸŒŸ ๐ŸŽ‰

web-push-notification-using-pushjs.org-with-nodejs-html-express.js-and-with-click-event-on-it's People

Contributors

fsojitra avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

gabergabora

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.