Backbone.js sync for CouchDB using nano
Switch branches/tags
Pull request Compare This branch is 5 commits behind Two-Screen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
index.js
package.json
test.js

README.md

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