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.
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.Fork graphql_dart
repository
Clone the project to local and create a new branch
git clone https://github.com/<your_repo_name>/graphql_dart.git
git checkout -b feature/<your_branch_name>
Download and install Dart 3
Install melos
dart pub global activate melos
Run melos exec "dart pub upgrade"
to update all the packages
Make changes to the packages
If you like this project and interested in supporting its development, you can make a donation via paypal service.