Install with npm.
$ npm install
Read from CSV file and output salary to command line.
$ node calcSalary HourList201403.csv
# or
$ npm run cmd
A server is run to provide data for salary.
GET /salary/:id
If the user id is matched data will be returned in JSON format.
To run the server
$ npm start
We are using jest for testing. Test files are located in dir.
__test__
Run all tests with
$ npm test