react app target localhost api code example Example: package json proxy "proxy": "http://localhost:4000"