API Proxy for Localhost Testing

Is there a way, similar to testing Ionic Angular apps, to implement proxies to circumvent CORS issues? I’m trying to test a custom web component for work, that calls out to an API via fetch, and populates a variable within the component. However, when trying to test this in localhost by running npm start, the console kicks back a CORS error. Anyone figure out how to do this? I’d prefer not having to build and deploy my changes to our dev server to try to see if everything is working correctly.