I have tried multiple things
I added
"proxy": "http://localhost:5000/"
to package.json, and even
devServer: {
historyApiFallback: true,
proxy: {
"/": "http://localhost:5000"
}
}
to webpack.config.dev.js
However, none of these seem to work. When I go to localhost:3000/age (one of my routes), the backend does not receive any request even though the React component is tied to it AND I have the proxy set in package.json
My express app listens on route 5000, and I am visiting it through my browser as localhost:3000/age and also have tried localhost:5000/age but don't work

localhost:5000/ageavailable on express route.please check it directly on browser url - prasanthdirect urlcall or aajax requestfor the urllocalhost:3000/age? - prasanth