Setup / install contacts application
Pre-requisites:
- NodeJS and NPM
- v6.10.0 LTS
- Download and Install Node.js. You can also follow this wiki (https://nodejs.org/en/download/package-manager/).
- MongoDB
- v2.6.8 or greater.
- Download and install MongoDB. You can also follow this guide (https://docs.mongodb.com/manual/installation/).
Setup / Installation:
Step by step guide to install Contacts Application:
Clone / download the github repository in the directory of your choice.
If you have installed git, then you may clone the repository with the following command:Â
Â
$ git clone git@github.com:dheerajaggarwal/contacts.git
OR you may download the repository from github.Â
Now, install the dependencies of this sample application
Â
$ npm install
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.