Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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