Gluing Couchbase Lite to Couchbase Server
The Sync Gateway manages HTTP-based data access for mobile clients. It handles access control and data routing, so that a single large Couchbase Server cluster can manage data for multiple users and complex applications.
Click here for the Official Sync Gateway Documentation
Apache 2 license.
There is a broad overview of mobile and Couchbase Lite here, with pointers to most of the docs
If you're having trouble, feel free to ask for help on the mailing list. If you're pretty sure you've found a bug, please file a bug report.