Git Product home page Git Product logo

pouchdb-angular4's Introduction

PouchDB, Angular 4, and Couchbase Example

Example project for synchronizing documents between platforms and Couchbase with only Angular 4 and PouchDB.

The Requirements

This project depends on the following dependencies in order to be successful:

  • Node.js 4.0+
  • Angular 4 CLI
  • Couchbase Sync Gateway

To develop Angular 4 applications you need the Angular CLI which is downloadable via the Node Package Manager (NPM) found in Node.js. For synchronization at least one Couchbase Sync Gateway instance must be available.

Installation and Configuration

Download the project from GitHub and execute the following to download all of the Angular 4 project dependencies:

npm install

With the dependencies installed, use launch Sync Gateway with the sync-gateway-config.json configuration file found at the root of the project.

In the project's src/app/app.component.ts file, change the hostname to match that of your Sync Gateway instance.

The project can be sampled by executing:

ng serve

The above command will serve the application at http://localhost:4200.

Resources

Couchbase - http://www.couchbase.com

PouchDB - https://pouchdb.com

Angular 2 - https://angular.io

pouchdb-angular4's People

Contributors

angular-cli avatar davidmanangan avatar nraboy avatar

Watchers

 avatar  avatar

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.