Setup / install contacts application

Pre-requisites:

  1. NodeJS and NPM
  2. MongoDB

Setup / Installation:

Step by step guide to install Contacts Application:

  1. Clone / download the github repository in the directory of your choice.

    1. If you have installed git, then you may clone the repository with the following command: 

       

      $ git clone git@github.com:dheerajaggarwal/contacts.git
    2. OR you may download the repository from github. 

  2. Now, install the dependencies of this sample application

     

    $ npm install
  3. Now, test application server is ready to start. Simply execute the following command to start the application server. You may change the port number with the following command.

     

    $ PORT=4050 node server.js

That's it. You may access test application server on http://localhost:4050/. This is also your contactsAppBaseURL variable which will be used in vREST test cases.