Mongodb – mongoose complains about duplicate id
For brief context, I'm creating a web app using ReactJS, Node.js + mongoDB. It's purpose is to hold lists of meals and products, and from them you can easily create shopping lists. I'm totally inexperienced with Node.js and MongoDB and…