A newer version of this documentation is available.

View Latest
March 16, 2025
+ 12

Description — Using Couchbase Lite with Javascript Ionic applications
Abstract — If you are building mobile or desktop applications using web technologies such as JavaScript/HTML/CSS, there are options for using Couchbase Lite as an embedded database within your app.
Related Content — Cordova | React Native

Introduction

Ionic’s Couchbase Lite integration is tailor-made for web developers, making it easy to build secure, high-performance, offline-enabled apps.

This premier integration supports apps built for iOS, Android, and native Windows.

Community-Edition-Only

Users of Community Edition can instead build their own native plugin on top of Couchbase Lite’s native API for iOS and Android. Ionic recommends use of Capacitor , which can be used independent of the application’s UI layer, to access native functionality from within Ionic apps.

Accessing Couchbase Lite

Using a robust JavaScript API, you can access the entirety of Couchbase Lite’s functionality with no native experience required.

As a starting point, you should follow the hotel search tutorial.
The tutorial shows how to build an app that allows users to search and bookmark hotels. It uses data loaded from a Couchbase Lite database — see the tutorial at https://ionic.io/docs/couchbase-lite/tutorials/hotel-search