System would require node and yarn.
For node: please visit https://nodejs.org/en/
For yarn: please visit https://classic.yarnpkg.com/en/docs/install
Once yarn is installed, Please clone the project and run yarn in project folder.
This will install all the dependencies for project.
yarn start - will run the project.
This will need following files to run
inputFiles/barcodesA.csvinputFiles/barcodesB.csvinputFiles/catalogA.csvinputFiles/catalogB.csvoutputFile/
On Successful run, output will be:
Output Succesfully written in ./output/result.csv
The results would be saved in ./output/result.csv.
yarn test - will run test with coverage report.
If the file name in different then mentioned above.
./constants.jscan be configured to handle different file name.
When input files are not correctly formatted. Te user will receive following error
Cannot Parse Filefollowed by path and filename.
When output path is not created or output file does not have premission to overwrite
Please check output folder is present and todos.csv have permissions