Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 2.07 KB

README.md

File metadata and controls

79 lines (50 loc) · 2.07 KB

Code Climate ember-couchdb-kit

Versions:

  • v0.9 works with ember 1.0.0 and ember-data 1.0.0-beta.3
  • v0.8 works with ember 1.0.0 and ember-data 1.0.0-beta.2
  • v0.7 works with ember rc.6.1 and ember-data 0.13

An ember-data kit for Apache CouchDB.

We love a CouchDB and its RESTful and many other core things such as MVCC, attachments and /_changes. These all brings your data and application flow together as well.

Inspired by pangratz/ember-couchdb-adapter and contains many fixes and newbie features.

There are some of these:

  • natural find/create/deleteRecord functions;
  • ability to work with views;
  • document's attachements designed as hasMany relationship;
  • document's revisions designed as belongsTo and hasMany relationships;
  • ability to work with /_changes feeds;

Check source code for more details. In additional, you could find more in /example application and find out how to use ember-couchdb-kit on practice.

Live example

Ready to use as a regular JS assets

An ember-couchdb-kit ships both with compiled js assets and coffee sources. Compiled assets plased in dist/**.js folder.

Ready to install as a regular gem

gem "ember-couchdb-kit", git: "[email protected]:roundscope/ember-couchdb-kit.git"

Rails aware generator for vendoring packages into application vendor/assets/javascripts placeholder

./bin/rails g ember_couchdb_kit:install

Add into your application.js

//= require ember-couchdb-kit

Learn through specs

rake jasmine
open -a safari http://localhost:8888

License

ember-couchdb-kit source code is released under MIT-License. Check MIT-LICENSE for more details.