Forum archive
How to integrate CouchDB for node.js app
In Node.js i used following code to access local database
var nano = require('nano')('http://localhost:5984');
I hosted my node.js app in aws beanstalk. I am using CouchDB - JSON based Web database powered by TurnKey GNU/Linux for database. what to use instesd of var nano = require('nano')('http://localhost:5984'); in live app to access database.
I used my IPV4 address. It worked