This node.js application has two tasks: 1) delivering files as a web server 2) authenticating users against a CouchDB using the module "superlogin"
place web-files some where and configure the routs of the Express.js app in the file "server.ts"
- install CouchDB on a server
- install Node.js on a server
- Configure "server-config.ts" with the correct CouchDB URL
- Enable CORS at the CouchDB a) npm install -g add-cors-to-couchdb b) add-cors-to-couchdb http://me.iriscouch.com -u myusername -p mypassword
- run "npm install"
- run "gulp" to execute the app