Created
May 28, 2014 20:35
-
-
Save daleharvey/437a6dc2887df5da7389 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pouchdb = require('PouchDB'); | |
var expressPouchDB = require('express-pouchdb'); | |
var backend = require('memdown'); | |
var db = new PouchDB('adb', {db: backend}); | |
expressPouchDB.setBackend(backend); | |
app.use(expressPouchDB); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment