/invoiceUpgrade

converting 7-segment number file to parsed numbers

Primary LanguageJavaScript

-- open command promt:- -- go to project folder and run npm i

-- to run http server go to project folder and type npm start or INPUT="INPUT FILE PATH" OUTPUT="OUTPUT FILE PATH" node index.js

for example, INPUT=/home/piyush/Downloads/so-node-test/node/onceHub_Test/input_output/input_user_story_1.txt OUTPUT=/home/piyush/Downloads/so-node-test/node/onceHub_Test/input_output/output_user_story_1.txt node index.js

api details - convert_invoice_numbers - read the invoices from file and write the result in file given in environment variable.. in Routes folder url:- http://localhost:3000/invoiceUpgrade