All Projects → shahankit → custom-graphiql

shahankit / custom-graphiql

Licence: MIT license
An utility wrapper around graphiql package to query any graphql endpoint.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to custom-graphiql

finch-sangria
A simple wrapper for using Sangria from within Finch.
Stars: ✭ 33 (-41.07%)
Mutual labels:  graphiql
graphql-playground
🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
Stars: ✭ 8,103 (+14369.64%)
Mutual labels:  graphiql
hapi-plugin-graphiql
HAPI plugin for GraphiQL integration
Stars: ✭ 20 (-64.29%)
Mutual labels:  graphiql
protoc-gen-twirpql
Generate A GraphQL Layer from A Twirp Server: https://twirpql.dev
Stars: ✭ 49 (-12.5%)
Mutual labels:  graphiql
apollo-studio-community
🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
Stars: ✭ 212 (+278.57%)
Mutual labels:  graphiql
DotNetGraphQL
A sample demonstrating how to create a GraphQL Backend in .NET and consume it from a .NET mobile app created using Xamarin
Stars: ✭ 78 (+39.29%)
Mutual labels:  graphiql
Graphiql
GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
Stars: ✭ 12,985 (+23087.5%)
Mutual labels:  graphiql
Graphql Dotnet
GraphQL for .NET
Stars: ✭ 5,031 (+8883.93%)
Mutual labels:  graphiql
Altair
✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.
Stars: ✭ 3,827 (+6733.93%)
Mutual labels:  graphiql
Graphql Apis
📜 A collective list of public GraphQL APIs
Stars: ✭ 3,525 (+6194.64%)
Mutual labels:  graphiql
serverless-plugin-graphiql
Creates http endpoints for graphql server with graphiql
Stars: ✭ 54 (-3.57%)
Mutual labels:  graphiql
graphiql-storm
🌪 A GraphQl Web IDE
Stars: ✭ 111 (+98.21%)
Mutual labels:  graphiql

CustomGraphiQL

A custom wrapper around graphiql package which offers more utility button and a component which allows to query any graphql endpoint. Inspired from graphiql-app but within browser without requirement for an app.

npm

Try it out here: https://graphiql-ide.netlify.com/

Getting started

npm install --save custom-graphiql
# OR
yarn add custom-graphiql

CustomGraphiQL is React component which wraps existing GraphiQL component. It can be directly hosted on your server. Check the example directory for how to setup CustomGraphiQL on any endpoint of your express server.

Build for the web with webpack or browserify, or use the pre-bundled custom-graphiql.js file. See the example in the git repository to see how to use the pre-bundled file. Alternatively you can get custom-graphiql.js or custom-graphiql.min.js from the releases page.

Don't forget to include the CSS file on the page! If you're using npm, you can find it in node_modules/custom-graphiql/custom-graphiql.css, or you can download it from the releases page.

It can be directly hosted on your server. Check out the example in thie repository for how to setup CustomGraphiQL on any endpoint of your express server.

Features

  • Generates stub mutation by scanning you schema.
  • Share current query using Get or Set query button.

Usage

CustomGraphiQL exports a single React component and it can further customized.

import CustomGraphiQL from 'custom-graphiql';

<CustomGraphiQL />

CustomGraphiQL supports all the props and children accepted by GraphiQL except the fetcher prop. The fetch function is implemented within the component and hence no fetcher props is required for CustomGraphiQL component. Check here for description of available props and children and their example usage.

Contributing

  1. Fork this repo by using the "Fork" button in the upper-right

  2. Check out your fork

    git clone [email protected]:yournamehere/graphiql.git
  3. Install or Update all dependencies

    yarn
  4. Run development server

    yarn dev
  5. Push your changes and raise a PR.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].