add proxy to package.json file react code example Example: package json proxy "proxy": "http://localhost:4000"