Categories
couchdb nodejs

Working with NodeJS, CouchDB and Express Framework

This is a simple example of using node.js, nano (couch db modules) and the express framework to retrieve some data from a couch instance. Setting up the modules We will be using a couch instance from www.iriscouch.com. The database will be named “employees”. var nano = require(‘nano’)(‘http://lugomatic.iriscouch.com’); var db = nano.use(’employees’); We need to include […]