@getplate/proxy-api
v0.0.1
Published
Proxy any API to localhost to avoid CORS issues, for example with authentication
Downloads
4
Readme
Helpers: Proxy API
To allow local Frontend development to interact with the an api, it sometimes needs to be proxied to localhost, to allow cookies to be send with the request. This repo does exactly that.
Sample usage
CLI: npx @getplate/proxy-api https://api.github.com 5000