This test is completed in Node.js, I tried to done it with raw Nodejs. The solution contains three different files, each file contain a seprate control flow. This solution depends upon the asyn, when.js and request modules.
The installation of solution is very simple.
- Clone this project using git .
https://github.com/bilalmetla/careAxiom-Test.git
- Install dependencies using.
npm install
- After successful installation, Run the following commands, Each command will start a seprate server on a given port.
npm run async-flow -port=6666
,npm run callback-flow -port=6666
,npm run promises-flow -port=6666
.- Each server will start and listen on given port default port is
9090
.