Giter Club home page Giter Club logo

todolite-ionic2's Introduction

Couchbase Ionic 2 Sample Application

A sample application built with Ionic 2 that demonstrates Couchbase data synchronization and management using the Couchbase Apache Cordova plugin and Couchbase JavaScript wrapper for the Apache Cordova plugin.

Ionic 2 with Couchbase

Requirements

To run this project you need the following:

  • Node.js 4.0+
  • Ionic Framework 2.0+

This is an Ionic 2 project that uses Angular 2 and TypeScript. All dependencies are managed using NPM which is included in a Node.js installation.

Installation and Configuration

The project listed on GitHub excludes all the dependencies required for building an iOS and Android application. This is to keep the repository lightweight. To build for Android and iOS, download the repository and execute the following:

npm install
ionic state restore

The above commands will install all the Node Package Manager (NPM) dependencies and configure all the Apache Cordova plugins and platforms.

To build and run the application, execute the following:

ionic emulate [platform]

Remember to swap out [platform] with your desired build platform. iOS requires a Mac with Xcode installed.

Couchbase Sync Gateway

The project is configured to handle data synchronization, but doesn't require it. If you wish to test out synchronization, see the included sync-gateway-config.json file. This file must be run using Couchbase Sync Gateway.

After running Sync Gateway, alter the hostname found in the project's src/providers/couchbase-provider.ts file to reflect that of your Sync Gateway server.

Resources

Couchbase - http://www.couchbase.com

Couchbase Apache Cordova Plugin - https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin

Couchbase Cordova JavaScript Wrapper - https://github.com/couchbaselabs/cordova-couchbase

Ionic Framework - http://www.ionicframework.com

todolite-ionic2's People

Contributors

nraboy avatar

Stargazers

 avatar Shriharsh Saboji  avatar Naveen Yagati avatar muhammedsemri404 avatar Andreas Schrell avatar Awasum Yannick avatar Wagner CS Filho avatar

Watchers

Sergey Avseyev avatar Steve Yen avatar Thuan Nguyen avatar Sarath Lakshman avatar  avatar  avatar Mike Wiederhold avatar Jeffry Morris avatar Pasin Suriyentrakorn avatar Abhishek Singh avatar James Cloos avatar Dean Proctor avatar Dipti Borkar avatar Alex Ma avatar Brett Lawson avatar Wayne Siu avatar Sundar Sridharan avatar  avatar  avatar Sriram Ganesan avatar  avatar Jim Walker avatar Dan Owen avatar Manu Dhundi avatar Andrew Reslan avatar Dave Finlay avatar  avatar vickiezeng avatar Couchbase Robot avatar  avatar Adam Fraser avatar Brian Williams avatar  avatar  avatar Michael Kwok avatar Keshav Murthy avatar Laura Czajkowski avatar  avatar

Forkers

inuri2000 a0fzide

todolite-ionic2's Issues

Cousebase not installed

there is a error cousebase lite not installed every time when i take a new build what i was missed?

Cannot save new items

Dear Nic,

I downloaded this project and tried to follow the instructions. However I don't succeed in saving the items. Screen to add an item shows up but the Save button doesn't do anything. I'm running on OSX.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.