Fork me on GitHub

In a create-react-app bootstrapped React project there’s a way to proxy requests to the backend using the “proxy” key in the package.json. E.g., `“proxy”: “http://localhost:5000“. This makes it possible to consume API endpoints without CORS-troubles. (See Is a similar setting available in Figwheel? If not, is this something that is possible to be made or are there difficulties because of the way Figwheel works?