'node.js and express.js audit module

  1. Create model as shopAudit, whenever change is made in shop model, a record to be created of what was changed and by which user. 2. Should be accessable to Admin and inventory user 3. Need to create utility to upload shop from excel file (simply read from that file and create in db) Column names to be same as model keys 4. maps with one inventory user and only that user has access to edit shop details

how to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source