You can use "https://www.npmjs.com/package/http-proxy-middleware" package. But this method is only used in the development environment.