Ruru
Ruru1 is a distribution of GraphiQL, the GraphQL IDE, that:
- integrates the popular "GraphiQL Explorer" plugin
- supports automatic hot-reloading GraphQL schemas via the
X-GraphQL-Event-Streamheader - focusses on ease of deployment
- contains enhancements for use with a Grafast-powered servers2 (namely: view your plan diagrams and similar debugging)
- is somewhat customizable
- will be more customizable in future
Running
See a demo of Ruru in action in the Grafast playground.
Or try: ruru serving https://countries.trevorblades.com/graphql.
You can run Ruru in many ways:
- HTML file — entirely browser-based
- CLI — proxy bypasses CORS, works offline, great for debugging
arbitrary GraphQL APIs
- instant usage (no permanent installation):
npx ruru -SPe http://... - install globally:
npm install --global ruru - install locally:
npm install --save-dev ruru
- instant usage (no permanent installation):
- server — best for your own Node.js based GraphQL API
- integrate via the
ruruHTML({...})HTML generator function - (optional) companion
serveStatic(...)middleware enables offline usage
- integrate via the