After inserting data on mongodb it shows me Cannot read property '_id' of undefined
server-side Code Here you can see this is my server-side code and it's below i have put my client-side code and what error is showing. And I can't catch what's wrong here app.post("/service", async (res, req) => { const newService…