Synchronizing product and orders with node.js