bbnano

Backbone.js sync for CouchDB using nano

npm install bbnano
7 downloads in the last week
22 downloads in the last month

bbnano Build Status

Extension for Backbone.js to sync with CouchDB using nano on Node.js.

Installing

npm install bbnano

Usage

var nano = require('nano')('http://localhost:5984/foo');
var bbnano = require('bbnano')(nano);

var doc = new bbnano.Model();
doc.save({ message: 'Hello world!' });

Hacking the code

git clone https://github.com/Two-Screen/bbnano.git
cd bbnano
npm install
curl -X PUT http://localhost:5984/bbnano_test
npm test
npm loves you