A complete implementation of the official GraphQL specification, in the Dart programming language.
The goal of this project is to provide to server-side users of Dart an alternative to REST API's.
Included is also
package:angel_graphql
, which, when combined with the
Angel framework, allows
server-side Dart users to build backends with GraphQL and
virtually any database imaginable.
Tutorial Demo (click to watch)
Projects
This mono repo is split into several sub-projects, each with its own detailed documentation and examples:
angel_graphql
- Support for handling GraphQL via HTTP and WebSockets in the Angel framework. Also serves as thepackage:graphql_server
reference implementation.data_loader
- A Dart port ofgraphql/data_loader
.example_star_wars
: An example GraphQL API built usingpackage:angel_graphql
.graphql_generator
: Generatespackage:graphql_schema
object types from concrete Dart classes.graphql_parser
: A recursive descent parser for the GraphQL language.graphql_schema
: An implementation of GraphQL's type system. This, combined withpackage:graphql_parser
, powerspackage:graphql_server
.graphql_server
: Base functionality for implementing GraphQL servers in Dart. Has no dependency on any framework.