Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.75 KB

File metadata and controls

50 lines (31 loc) · 1.75 KB

demo-large-dataset-json-to-csv-exporter

Demo - Large dataset collection JSON data to CSV export and download attachment..

Prerequisites: You must have following installed on your machine..

Installing dependencies:

Run the following command:

$ bower install && npm install

Running the project:

First cd into project root directory:

$ cd <path/to/your/project/>

After then, run this command to serve locally:

$ node app.js

after this open http://localhost:5000/ in your browser's tab.

That's all you need.. Enjoy.

Tech's used:

TODO

For now, I have used streams with csvwriter which results bit slow downloading when we have very very lage dataset.. We have to update it to use mongoose-to-csv api which export all collection to direct csv and in result we will have good performance (fast download).

Cheers!

Whoami

Narain Sagar

@narainsagar

Website | Twitter | LinkedIn | Facebook | Github | Stack Overflow