There is an updated version of this post here
With the release of Sync Gateway 1.5 and Couchbase Server 5.0, mobile and web clients can seamlessly access documents in the same Couchbase Server bucket. This implies that a document created by a web app via the Couchbase SDK will be automatically replicated to the mobile clients through the Sync Gateway and vice versa.
To that end, we have developed a Travel Sample Application that demonstrates the power of unified bucket access from web and mobile clients. In addition to demonstrating the power of converged access, the sample mobile app gives a sneak peek into some of the advanced query features available in Couchbase 2.0
Here is a video recording of the demo –
This tutorial will walk you through the steps to install and run the sample application. In addition, the guide provides details of the architecture, the data model, UI workflows and the couchbase Lite queries. You will also find download links to the source code in the same guide.
Here is a sneak peek into the contents of the tutorial:
Questions?
The source code for the Travel Sample Mobile App and Travel Sample Web App with Backend is available on Github. If you have suggestions ,feel free to submit a Pull Request on the repos.
If you have other questions or feedback, please leave a comment below or feel free to reach out to me at Twitter @rajagp or email me priya.rajagopal@couchbase.com. The Couchbase Forums are another good place to reach out with questions.