This is an express middleware for mounting an instance of altair GraphQL client.
This is a node module and can be installed using npm:
npm install --save altair-express-middleware
Alternatively, if you are using
yarn add altair-express-middleware
;;;;const server = ;// Mount your graphQL server endpointserver;// Mount your altair GraphQL clientserver;// ... the rest of your code ...
An instance of Altair GraphQL Client would be available at
/altair of your server.
Everyone is welcome to contribute. See anything that needs improving, create an issue. And if you're up for it, create a PR! :D