/graphql_dart

GraphQL for Dart

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

GraphQL for Dart

Logo

Pub Version (including pre-releases) Null Safety Gitter License melos

A complete implementation of the official GraphQL specification, in the Dart programming language.

The goal of this project is to provide to an alternative to REST API's for server-side development in Dart.

Included is angel3_graphql, a plugin which integrates with Angel3 framework to allow developers to build backend services with GraphQL and virtually any supported database in Dart.

Projects

This mono repo is split into several sub-projects, each with its own detailed documentation and examples:

  • graphql_parser2: A recursive descent parser for the GraphQL language.
  • graphql_schema2: An implementation of GraphQL's type system.
  • graphql_generator2: Generates graphql_schema2 object types from concrete Dart classes.
  • graphql_data_loader2 - A Dart port of graphql/dataloader.
  • graphql_server2: Base functionality for implementing GraphQL servers in Dart. Has no dependency on any framework except graphql_parser2 and graphql_schema2 packages.
  • angel3_graphql - An implementation of graphql_server2 in handling GraphQL via HTTP and WebSockets for Angel3 framework.