Skip to content

Instantly share code, notes, and snippets.

@daleharvey
Created May 28, 2014 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save daleharvey/437a6dc2887df5da7389 to your computer and use it in GitHub Desktop.
Save daleharvey/437a6dc2887df5da7389 to your computer and use it in GitHub Desktop.
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