dArK kNiGhT
dArK kNiGhT

Reputation: 171

Web Push notification in Rails 5

I am creating new application in rails 5. I want to use Web Push notifications. I haven't find any document that'll help me in web push notifications.

Any help will be appreciable .Thanks in advance.

Upvotes: 5

Views: 8774

Answers (2)

Neeraj Shukla
Neeraj Shukla

Reputation: 1561

Here is a really good blog post which really helped me- https://rossta.net/blog/using-the-web-push-api-with-vapid.html

The good thing is that there is code for the sample on Github and you can play around with that- https://github.com/rossta/serviceworker-rails-sandbox

Other than that if you are new to using web push notifications, just going through the Google's web fundamentals tutorial is not a bad idea too.

https://developers.google.com/web/fundamentals/codelabs/push-notifications/

Upvotes: 1

cappie013
cappie013

Reputation: 2444

I'm using this: https://github.com/zaru/webpush

Good documentation, and good example!

Upvotes: 10

Related Questions