Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Backbone.js sync for CouchDB using nano
JavaScript
Branch: master
Pull request Compare This branch is 21 commits ahead of samlown:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
Something went wrong with that request. Please try again.