Hi,
I see you are pulling changes feeds from the CouchDB server. Using a hook it is possible to push changes from all dbs to an api endpoint. In your couch config add an entry in the group update_notification, choose any name (push notifier) and value xargs -L1 -I{} curl -X POST -d '{}' http://localhost/pushnotifier. This will create a POST request on http://localhost/pushnotifier endpoint, which saves you from _changes listeners, which is more efficient in my setup.
Cheers!
Hi,
I see you are pulling changes feeds from the CouchDB server. Using a hook it is possible to push changes from all dbs to an api endpoint. In your couch config add an entry in the group
update_notification, choose any name (push notifier) and valuexargs -L1 -I{} curl -X POST -d '{}' http://localhost/pushnotifier. This will create a POST request onhttp://localhost/pushnotifierendpoint, which saves you from _changes listeners, which is more efficient in my setup.Cheers!