I am getting some issue while inserting data to mongodb atlas using node js. Can someone please help me in resolving this?

Viewed 16

After connecting with mongodb atlas, I am getting some issue while inserting data in mongodb atlas. Here is my node code where i insert routing code of insertion.

I am getting this error

error

app.js

app.js

And following is the code where i inserted the data

Data.js

0 Answers
Related