/Time2Revenue

Web based application based on Express (Node.js) and CouchDB

Primary LanguageJavaScript

IBM - Time to Revenue

A Web application to track project from inception to revenue realization.

Dependencies

Install couchDB and make sure the server is up and running.

Instructions

Setting up databases :

This would open fauxton, a native web based interface built into couchDB.

  • Create a database named projects where all project data will be stored.

  • Create a view with design-name findproject and view-name findbyname .

Map function :

function (doc) {
    emit(doc.proj_name, doc);
}

Note: This view is required to make queries on projects database.

To install, clone the repository and install node dependencies :

$ git clone https://github.com/asmaurya95/Time2Revenue.git

$ cd Time2Revenue

$ npm install

Start the server :

$ npm start

OR

(For developers)

$ npm run devstart

This would enable the server to automatically restart on any changes made to the script while the server is already running

Open the browser and navigate to http://localhost:3000/ to see the application in action.