@readyapi/api-client-proxy
v0.0.1
Published
an api request proxy based on express
Downloads
8
Readme
ReadyAPI Client Proxy
The Ready API Client Proxy redirects requests to another server to avoid CORS issues. Works well with the Ready API Client.
Installation
npm install @readyapi/api-client-proxy
Usage
Create a new Node.js project and run the following code to run your own instance:
import { createApiClientProxy } from '@readyapi/api-client-proxy'
const { listen } = createApiClientProxy()
listen(5051, () => {
console.log(`🥤 API Client Proxy listening on http://localhost:5051`)
})