![ew-processing](https://private-user-images.githubusercontent.com/20709402/329079146-d8f3d5ab-e099-44ef-bc29-c5df8352dc4a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwMjEwOTEsIm5iZiI6MTcyNTAyMDc5MSwicGF0aCI6Ii8yMDcwOTQwMi8zMjkwNzkxNDYtZDhmM2Q1YWItZTA5OS00NGVmLWJjMjktYzVkZjgzNTJkYzRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDEyMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiYjMzZTNkYWMwNjU1NGFlM2MzZDQ4NTVhNGQyM2FlMmFmZmNmZmM2NmVkYmFiZWNjMzJjYTBjZjBlYjM3YTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NmvkqQIjoKkhVsu5ZUeGArIAAuqN5paBsfvbJmh3Q-w)
https://www.youtube.com/watch?v=-wXPxJYhZeI&list=WL&index=18
- nvm (to download the correct version of Node)
- csv asset to read and test stuff. You can use this one Kagle
- git clone https://github.com/henriquesss/web-workers-at-browser
- nvm use
- npm run start
src/controller.js
= Intermediador/validador de recursossrc/index.js
= Centraliza tudo para ser importado pelo index.htmlsrc/service.js
= Regras de negóciosrc/view.js
= Operacoes de frontendsrc/worker.js
= Operacoes nas threads do navegador
cat database.csv | wc-l
(count the number of lines in a file)- Work threads is paralels threads running with main
- Too much
console.log
can downgrade de software performance
- Improve UI of the project
- Create a new layer with validations (middleware?)
- Discover and use a good practice at
src/service.js
instead oflines.shift()
- Use lib
csvtojson
instead of function atsrc/service.js
- Fix the line numbers