@pi-cubed/graphql-proxy-server
v0.1.0
Published
Add proxy abilities to GraphQL servers
Downloads
1
Readme
graphql-proxy-server
Add proxy abilities to GraphQL servers.
Install
$ yarn add @pi-cubed/graphql-proxy-server
Usage
import ProxyServer from '@pi-cubed/graphql-proxy-server';
const port = process.env.PORT || 5000;
new ProxyServer().start({ port }, () =>
console.log(`Proxy server started at ${port}.`)
);
API
Members
Functions
ProxyServer
TODO docs
Kind: global variable
getClient()
TODO docs
Kind: global function
send()
TODO docs
Kind: global function
getSchema()
TODO docs
Kind: global function
request()
TODO docs
Kind: global function
getProxyResolvers()
TODO docs
Kind: global function
getTypeDefs()
TODO docs
Kind: global function
Maintainers
License
MIT © Pi Cubed