enter image description here
I’m working on an e-commerce website as a MERN Stack from my Practice Project I’m facing this problem. that is how I can get the ProductId whereas the product is added from the frontend and how backend can be attached to the frontend of my added Product if I add the more products to my website the how does backend/mongoDB generate my new ProductId because it is to uploaded on backend my added product is attached with frontend
Noman Ansari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.