Public Repository

Last pushed: a month ago
Short Description
Foghorn notifies your javascript when tables change in your database
Full Description

Watches your database for changes and notifies listening clients through websockets.

In other words, you do this in your client javascript:

  Foghorn.listen(
    'users',
    function(tablename, type, id) {
      console.log('notified on', tablename, 'of a', type, 'for the id', id);
    });

And when the table changes the Foghorn server will tell your javascript what happened to which ID. Go update your view, re-render your React, play the gong or what ever it is that you do when data changes.

https://github.com/luopio/foghorn

Docker Pull Command
Owner
luopio