GraphQL-Pouch is completely self contained and designed to comfortable develop web and mobile frontends in a single or distributed node environment. Started by a simple "offline enabled" development environment, up to multiple high avalabile running instances behind a load balancer or reverse proxy. Shared data between multiple instances of an application has many tradeoffs. Rather than relying on a master/slave or cluster systems as a "single source of truth", GraphQL-Pouch supports PouchDB-CouchDB's multi-master node replication. In a multi-node architecture GraphQL-Pouch is partitioned, every node is available, and it's only eventually consistent. This behavior is intentional to build responsible user interfaces with a smooth user experience all the time. Especially Relay has an integrated mechanism named Relay Optimistic Updates to handle eventual consistency in a particularly nice way. Try to build your frontend data manipulations with this idea in mind.
graphql-pouch --remote http://username:[email protected]/<DB-prefix>
For further information read: