See i am a beginner who is building my full stack Todo app using MERN , note that i can connect to MongoDB using the Postman and do the required for testing the routes purposes , but when I am working on my backend and connecting to my MongoDB to make display the contents of the Table , it is not working , see i have also integrated the cors packages into my code and also that type of error is not the problem, see the pics, i have windows 10 laptop (see i start the backend running by the command node index.js and kill the terminal & go to the frontend and give the command as npm run dev in the new terminal)
enter image description here
enter image description hereenter image description here
i am expecting when i give the http://localhost:3000/todos – then the todos from the mongodb should be rendered
Navin Kumar M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1