Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published