/ˈɡrafək(ə)l/ A graphical interactive in-browser GraphQL IDE. Try the live demo.
GraphiQL is the reference implementation of GraphQL IDE, an official project under the GraphQL Foundation.
This repository contains much of the code that powers GraphiQL, split into modules that can be used to build custom/alternative editors. The code uses the permissive MIT license.
The main components in this monorepo are:
- GraphiQL - the GraphiQL IDE, implemented in React, currently using GraphQL mode for CodeMirror & GraphQL Language Service.
- GraphQL mode for CodeMirror - provides CodeMirror with a parser mode for GraphQL along with a live linter and typeahead hinter powered by your GraphQL Schema
- GraphQL Language Service - provides an interface for building GraphQL language services for IDEs.
Additionally, these components are dependents of the above packages, and are themselves used throughout the GraphQL Ecosystem:
- GraphQL Language Service Server - server process backing the GraphQL Language Service.
- GraphQL Language Service Interface - interface to the GraphQL Language Service
- GraphQL Language Service Parser - an online immutable parser for GraphQL, designed to be used as part of syntax-highlighting and code intelligence tools such as for the GraphQL Language Service and codemirror-graphql.
- GraphQL Language Service Types - Flow type definitions for the GraphQL Language Service.
- GraphQL Language Service Utilities - utilities to support the GraphQL Language Service.
This is an open source project, and we welcome contributions. Please see CONTRIBUTING.md for details on how to contribute.