data export from UI angular using node express backend

Johne Doe Source

I'm using node express for backend related services and using angular for frontend, mongoose module for DB related, I have a page say order page, in that page i can see list of orders placed by user, for showing orders in that page I have created API using node with pagination per page 20 records showing. Now I want to export all orders in excel format when I will click export button in frontend. What is the best way to do it using node,angular,mongoose. My express server and frontend is hosted in different places. Consider orders contain 65K records and also need to consider time,memory for fetching huge records



comments powered by Disqus