I\'m questioning myself why should I use combination of Node.js + CouchDB versus CouchDB standalone approach. What are the benefits of getting Node.js into the game? Any comment
One of the benefits of using NodeJS in front of your CouchDB database is that you get more flexibility when implementing constraints.
CouchDB only allows you to write validation functions in design documents that check the document that is being created/updated/deleted. It is not possible to access a other document that is stored in the database from within a design document.
You might want this functionality if you need to check for the existence of document X before inserting Y.