DEV Community

Discussion on: FullStack setup (Node.js, React.js and MongoDB)

Collapse
 
oscarzapi profile image
oscarzapi

It was showing this error inside Chrome Devtools (where localhost:3000).

Thread Thread
 
pacheco profile image
Thiago Pacheco

Are you able to insert data through an HTTP client like Insomnia or postman?

Thread Thread
 
oscarzapi profile image
oscarzapi

I think I found the issue. I had included the sentence "proxy": "localhost:5000" inside the package.json belonging to the server, and not inside the package.json of the client(react app). May be that one the problem Thiago? Because now I´m not getting any errors.

Thread Thread
 
pacheco profile image
Thiago Pacheco

That was it, for sure Oscar.

Let me know if you have any other questions! :)