NodeJs-Assignment

run the application by: node index.js

visit: http://localhost:8080/

#-------------------------

Problem Statement

Car Autozone is located in Rawalpindi with its grand show room. Car Autozone is known for its middle range cars from different vendors which particularly suits middle class. Its sales persons are well trained and aggressively pursue customers. Car Autozone rewards its sales men by giving them incentives on sales. All sales & inventory data is collected periodically from all of its sales channels and stored in simple files. To make rewards quick Car Autozone management has decided to automate their system.

  1. Investigate how much system can be automated with given resources
  2. Write a program for the automation and incentive disbursement to each salesman
  3. Store results in an appropriate format i.e CSV

Note

  • This task is independent of any DB & and all the code has to be in node.js with no external libraries.
  • Test driven development is preferred, hence writing unit test will carry extra weightage. In case testing is done jest is preferred
  • All the required resources are available on git.