Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ionic-team/demo-couchbaselite-hotels
This Ionic demo app allows users to search and bookmark hotels from a Couchbase Lite database.
https://github.com/ionic-team/demo-couchbaselite-hotels
capacitor couchbase-lite ionic javascript
Last synced: 3 months ago
JSON representation
This Ionic demo app allows users to search and bookmark hotels from a Couchbase Lite database.
- Host: GitHub
- URL: https://github.com/ionic-team/demo-couchbaselite-hotels
- Owner: ionic-team
- License: other
- Created: 2021-10-06T21:26:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T15:44:49.000Z (over 2 years ago)
- Last Synced: 2024-10-02T06:21:13.051Z (3 months ago)
- Topics: capacitor, couchbase-lite, ionic, javascript
- Language: TypeScript
- Homepage: https://ionic.io/docs/couchbase-lite
- Size: 7.56 MB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Demo app for the "Build Offline-Enabled Mobile Apps With Ionic and Couchbase Lite" talk at Couchbase Connect 2021. The app allows users to search and bookmark hotels using data loaded from a Couchbase Lite database.
> Building mobile apps that require offline data storage capabilities? Using Ionic’s open source development kit, web development teams can now build fast, offline-enabled apps using JavaScript and Ionic's Couchbase Lite integration. This app runs on iOS, Android, and native Windows all from one codebase.
## Features
* Data from a Couchbase Lite database: The database is embedded into the Android and iOS apps.
* UI components powered by Ionic Framework: search bar, bookmarks, icons, list items, and more.
* Bookmarked hotels: Saved in a Couchbase Lite database.
* Cross-platform: Create iOS, Android, and native Windows apps all from the same codebase.
## Tech Details
- UI: [Ionic Framework 6](https://ionicframework.com) and [Angular 12](https://angular.io)
- Native runtime: [Capacitor 3](https://capacitorjs.com)
- Database: Couchbase Lite v3.0 powered by [Ionic's CBL integration](https://ionic.io/docs/couchbase-lite)## How to Run
Note: Installing and running this app, which uses Ionic's Couchbase Lite integration, requires a subscription to [Ionic Enterprise](https://ionicframework.com/enterprise). For details, pricing info, and a live demo, please reach out [here](https://ionic.io/contact/sales).
- Sign up for [a free trial](https://dashboard.ionicframework.com/personal/apps?native_trial=1) of Ionic's Couchbase Lite integration.
- Install the Ionic CLI: `npm install -g @ionic/cli`
- Clone this repository
- Register your native trial key: `ionic enterprise register`
- Build the app: `ionic build` then `npx cap sync`
- Run the app on your device. Either `npx cap open android` or `npx cap open ios`