node.js,mongoose : Include child object information from mongodb using mongoose, and export the data in a excel file using package xlsx

Job ID: 32520649

Budget: $10 – $100 USD

Please see the detailed descripton in this link below:
https://docs.google.com/document/d/1cQdkpCO7ibyNBT-9xicLtZk_cog2oKHtPpHbFywTJRY/edit?usp=sharing
from the document:
I have the following evidence object (see the screenshot below) which has a child object history[], which maintains a history of the changes in the evidence.content field.

There is a function to export the evidence collection to an excel report. However, the function doesn’t export the contents of history child object.
Also the history child object has a “updated by” field which should be linked to a person in the users collection.

I have attached the source code here for reference.
Please make the modification on the function and export them
Related categories: NoSQL Couch & Mongo Node.js Express JS