- Non-Blocking Method to process multiple file
Node.js Express.js Express-handlebars (for fron-end) Mongodb
This project is Dockerized
Step 1. run the comment "docker-compose up", This will install all the necessary things
Step 2. In the browser type http://localhost will show the appication
No.1 Products -> Storing all the products data No.2 Productsinfo -> To Store the number of products with same name
-
Followed the OOPS Concepts
-
This application supports for regular non-blocking ingestion, able to process multiple request parllelly it doesn't wait for previous process to complete
-
All Products all insert to single collection called products. can see in the link : http://localhost/list/products after docker installation
-
An aggregate collection will show the count of product with same name can see in the link : http://localhost/list/count
-
updating data --> when user uploads the same csv file for two times exist collection will get updated it won't allow one more insert operation if the record already exits, it will update the values if it is not there in collection then it will insert the new values
i will find the better solution to store the data in more efficent way