graphql-js - A reference implementation of GraphQL for JavaScript

  •        86

The JavaScript reference implementation for GraphQL, a query language for APIs created by Facebook. It is a query language describing the capabilities and requirements of data models for client‐server applications. It is a query language for APIs and a runtime for fulfilling those queries with your existing data.

http://graphql.org/graphql-js/
https://github.com/graphql/graphql-js

Tags
Implementation
License
Platform

   




Related Projects

apollo-android - :pager: A strongly-typed, caching GraphQL client for Android, written in Java


Apollo-Android is a GraphQL compliant client that generates Java models from standard GraphQL queries. These models give you a typesafe API to work with GraphQL servers. Apollo will help you keep your GraphQL query statements together, organized, and easy to access from Java. Change a query and recompile your project - Apollo code gen will rebuild your data model. Code generation also allows Apollo to read and unmarshal responses from the network without the need of any reflection (see example generated code below). Future versions of Apollo-Android will also work with AutoValue and other value object generators.

Prisma - Turns your database into a realtime GraphQL API


Prisma is a performant open-source GraphQL ORM-like layer doing the heavy lifting in your GraphQL server. It turns your database into a GraphQL API which can be consumed by your resolvers via GraphQL bindings. Prisma's auto-generated GraphQL API provides powerful abstractions and modular building blocks to develop flexible and scalable GraphQL backends. Instead of writing SQL or using a NoSQL API, you can query your database with GraphQL.

libgraphqlparser - A GraphQL query parser in C++ with C and C++ APIs


libgraphqlparser is a parser for GraphQL, a query language created by Facebook for describing data requirements on complex application data models, implemented in C++11. It can be used on its own in C++ code (or in C code via the pure C API defined in the c subdirectory), or you can use it as the basis for an extension module for your favorite programming language instead of writing your own parser from scratch.The provided dump_json_ast is a simple program that reads GraphQL text on stdin and prints a JSON representation of the AST to stdout.

graphql-anywhere - :icecream: Run a GraphQL query anywhere, against any data, with no schema.


Run a GraphQL query anywhere, without a GraphQL server or a schema. Just pass in one resolver. Use it together with graphql-tag.I think there are a lot of potentially exciting use cases for a completely standalone and schema-less GraphQL execution engine. We use it in Apollo Client to read data from a Redux store with GraphQL.

graphql - An implementation of GraphQL for Go / Golang


A work-in-progress implementation of GraphQL in Go. Its currently a port of graphql-js v0.6.0 which is based on the April 2016 GraphQL specification. Future efforts will be guided directly by the latest formal GraphQL specification (currently: October 2016).The following is a simple example which defines a schema with a single hello string-type field and a Resolve method which returns the string world. A GraphQL query is performed against this schema with the resulting output printed in JSON format.


graphql-yoga - 🧘 Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience


To get started with graphql-yoga, follow the instructions in the READMEs of the examples.(**) Notice that the req argument is an object of the shape { request, connection } which either carries a request: Request property (in case it's a Query/Mutation resolver) or a connection: SubscriptionOptions property (in case it's a Subscription resolver). Request is imported from Express.js. SubscriptionOptions is from the graphql-subscriptions package.

graphql - GraphQL is a query language and execution engine tied to any backend service.


This is a Working Draft of the Specification for GraphQL, a query language for APIs created by Facebook.The target audience for this specification is not the client developer, but those who have, or are actively interested in, building their own GraphQL implementations and tools.

graphql-up - Get a ready-to-use GraphQL API for your schema


graphql-up is the fastest way to get a free & ready to use GraphQL API. It works out of the box with Apollo & Relay and supports GraphQL subscriptions.You only need to provide the schema, graphql-up will create a GraphQL API for you. The actual magic happens on the servers sponsored by Graphcool.

eslint-plugin-graphql - :vertical_traffic_light: Check your GraphQL query strings against a schema.


An ESLint plugin that checks tagged query strings inside JavaScript, or queries inside .graphql files, against a GraphQL schema.If you want to lint your GraphQL schema, rather than queries, check out cjoudrey/graphql-schema-linter.

graphql-client - A Ruby library for declaring, composing and executing GraphQL queries


GraphQL Client is a Ruby library for declaring, composing and executing GraphQL queries.Sample configuration for a GraphQL Client to query from the SWAPI GraphQL Wrapper.

lacinia - GraphQL implementation in pure Clojure


This library is a full implementation of Facebook's GraphQL specification.Lacinia should be viewed as roughly analogous to the official reference JavaScript implementation. In other words, it is a backend-agnostic GraphQL query execution engine. Lacinia is not an Object Relational Mapper ... it's simply the implementation of a contract sitting between the GraphQL client and your data.

apollo-server - :earth_africa: GraphQL server for Express, Connect, Hapi and Koa


Apollo Server is a community-maintained open-source GraphQL server. It works with pretty much all Node.js HTTP server frameworks, and we're happy to take PRs for more! It works with any GraphQL schema built with the graphql-js reference implementation.Apollo Server is super easy to set up. Just npm install apollo-server-<variant>, write a GraphQL schema, and then use one of the following snippets to get started. For more info, read the Apollo Server docs.

graphql.js - A Simple and Isomorphic GraphQL Client for JavaScript


GraphQL is based on a very simple HTTP transaction, which sends a request to an endpoint with query and variables.Many libraries require complex stacks to make that simple request. In any project you don't use React, Relay, you'll need a simpler client which manages your query and makes a simple request.

apollo-codegen - :pencil2: Generate API code or type annotations based on a GraphQL schema and query documents


This is a tool to generate API code or type annotations based on a GraphQL schema and query documents.It currently generates Swift code, TypeScript annotations, Flow annotations, and Scala code, we hope to add support for other targets in the future.

apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift


Apollo iOS is a strongly-typed, caching GraphQL client for iOS, written in Swift.It allows you to execute queries and mutations against a GraphQL server, and returns results as query-specific Swift types. This means you don’t have to deal with parsing JSON, or passing around dictionaries and making clients cast values to the right type manually. You also don't have to write model types yourself, because these are generated from the GraphQL definitions your UI uses.

graphql-request - 📡 Minimal GraphQL client supporting Node and browsers for scripts or simple apps


Send a GraphQL query with a single line of code. ▶️ Try it out.graphql-request is the most minimal and simplest to use GraphQL client. It's perfect for small scripts or simple apps.

graphql-relay-js - A library to help construct a graphql-js server supporting react-relay.


This is a library to allow the easy creation of Relay-compliant servers using the GraphQL.js reference implementation of a GraphQL server.A basic understanding of GraphQL and of the GraphQL.js implementation is needed to provide context for this library.

jsonapi-server - A config driven NodeJS framework implementing json:api and GraphQL


A config driven NodeJS framework implementing json:api and GraphQL. You define the resources, it provides the api. This framework solves the challenges of json:api and GraphQL without coupling us to any one ORM solution. Every other module out there is either tightly coupled to a database implementation, tracking an old version of the json:api spec, or is merely a helper library for a small feature. If you're building an API and your use case only involves reading and writing to a data store... well count yourself lucky. For everyone else, this framework provides the flexibility to provide a complex API without being confined to any one technology.

elm-graphql - GraphQL for Elm


elm-graphql generates Elm code for making GraphQL queries in a type-safe manner.At compile time, elm-graphql takes GraphQL schema and named queries in a .graphql file and generates corresponding Elm types. The schema is obtained by introspection of a live GraphQL server.