Skip to content

Push changes #4

@ssured

Description

@ssured

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions