Webpack as proxy for doing API development
You can find out how to do this here
It comes down to a config block that looks like this:
devServer: {
/* Send API requests on localhost to API server get around CORS */
proxy: {
'/<api_base_url>/*': 'http://<some_server>:<some_port>'
}
}