26 Commits (df08062ffb409a9f51d75477064ff47e5897b9dd)
 

Author SHA1 Message Date
Onja df08062ffb Refactor column validation in File class to emit parse error event when columns are invalid 12 months ago
Onja 8524d995f3 Refactor download progress logging to display downloaded size in megabytes instead of percentage 12 months ago
Onja 543c12fdff Add exclusion for public/csv/* in .gitignore file 12 months ago
Onja 93795e29d1 Add event listener for 'download.started' with the filepath and length information 12 months ago
Onja d733230901 Update basedir path in constants.js to resolve file path correctly 12 months ago
Onja fb9e493da6 Refactor log messages for download and parsing events to be more concise and remove unnecessary information 12 months ago
Onja 78bd3a2147 Refactor basedir to use path.join for better readability and maintainability 12 months ago
Onja 03f3c74d27 Refactor error handling in File class to emit download.error event and reject promise 12 months ago
Onja 6816d76fa6 Handle error when parsing file from URL in index.js 12 months ago
Onja e6e5e4a614 Refactor consoleSubscriber.js to use a log function to log event names and data 12 months ago
Onja 1a71a7c256 Add consoleSubscriber module to app.js 12 months ago
Onja b9270b2a06 Add consoleSubscriber.js file with event listener functions for various events and their corresponding actions 12 months ago
Onja ac33d20776 Remove unnecessary call to super() in the constructor of the File class 12 months ago
Onja f408226daa Refactor the File class to use a separate event emitter module for better code organization and separation of concerns 12 months ago
Onja e9a15d9834 Refactor FileService class to use event emitter module for better code organization and readability 12 months ago
Onja 7213927988 Create a new file "eventEmitter.js" in the "src/services" directory, which exports a singleton instance of the EventEmitter for the entire application 12 months ago
Onja 5648746546 Add index and count to parse.data and parse.end events in File model 12 months ago
Onja 50997abf9f Add FileService class to parse CSV data from a given URL and return a stream for download 12 months ago
Onja 6db619d3c4 Refactor the code to load the project path from the config/constants.js file and fix a bug in the parse method where it returns false instead of rejecting the promise with an error message when columns are invalid 12 months ago
Onja bd75953797 Add "dev" script to package.json for nodemon 12 months ago
Onja ca33b38dc9 Refactor the processRow method to generate a new file with the columns and return the exported row 12 months ago
Onja 997aee6cce Rename file.js to src/models/file.js 12 months ago
Onja 0f17664964 Rename File.js to file.js and make changes to the parse method to read a file and return a stream 12 months ago
Onja 7be61d264d Refactor File.js to include generating a separate filepath for the generated file 12 months ago
Onja d1052f693a Refactor File class to include download progress and error handling 12 months ago
Onja 39e38ce379 First commit 12 months ago