elm-kinto icon indicating copy to clipboard operation
elm-kinto copied to clipboard

Add notification

Open berry opened this issue 8 years ago • 1 comments

I have been reviewing Kinto as an alternative to Firebase + Elm. I also like Kinto being implemented in Python. Being also a Python programmer this give me the opportunity to do server side stuff if necessary. I miss that opportunity in Firebase.

What would definitely win me over is an example in Elm with notifications. For example, in the existing example. I open two browsers, I would create a record in browser A and this record would automatically show up in browser B. Also record updates would immediately be reflected in both browsers.

Thanks very much in advance for winning me over ;-)

Berry

berry avatar Dec 22 '16 09:12 berry

I am glad you raise this concern (also I missed the past two years so I am probably too late…)

Using Pusher

You have multiple ways of handling push-notifications with Kinto. One is using kinto-pusher

You can then plug Pusher with elm to trigger a sync.

Using webpush-channels

In case for some reasons you don't or can't use Pusher, you can also host webpush-channels and plug it with Kinto to let your users subscribe to some channels and then tell kinto to publish update in that channel.

Natim avatar Nov 02 '18 08:11 Natim