📣 GraphQLConf 2024 • Sept 10-12 • San Francisco • Read more

Code Using GraphQL

Sort by:
quicktype
Generate types for GraphQL queries in TypeScript, Swift, golang, C#, C++, and more.
11kApache License 2.0
GraphQL Code Generator
GraphQL code generator with flexible support for custom plugins and templates like Typescript (frontend and backend), React Hooks, resolvers signatures and more.
Last release 6 hours ago11kMIT License
Schemathesis
A modern API testing tool for web applications built with Open API and GraphQL specifications.
Last release 5 days ago2kMIT License
README

Run Schemathesis via Docker against your GraphQL endpoint:

docker run schemathesis/schemathesis \
   run https://your.app.com/graphql

Schemathesis will generate queries matching your GraphQL schema and catch server crashes automatically. Generated queries have arbitrary depth and may contain any subset of GraphQL types defined in the input schema. They expose edge cases in your code that are unlikely to be found otherwise.

Note that you can write your app in any programming language; the tool will communicate with it over HTTP.

For example, running the command above against https://bahnql.herokuapp.com/graphql uncovers that running the { search(searchTerm: "") { stations { name } } } query leads to a server error:

{
  "errors": [
    {
      "message": "Cannot read property 'city' of undefined",
      "locations": [
        {
          "line": 1,
          "column": 28
        }
      ],
      "path": ["search", "stations"]
    }
  ],
  "data": null
}
Microcks
Open source Kubernetes-native tool for API Mocking and Testing
1kApache License 2.0
README

Microcks is a platform for turning your API and microservices assets - GraphQL schemas, OpenAPI specs, AsyncAPI specs, gRPC protobuf, Postman collections, SoapUI projects_ - into live simulations in seconds.

It also reuses these assets for running compliance and non-regression tests against your API implementation. We provide integrations with Jenkins, GitHub Actions, Tekton and many others through a simple CLI.

gqt
Build and execute GraphQL queries in the terminal.
455MIT License
README

Run gqt against your GraphQL endpoint. Build your query in an intuitive TUI and execute it. The response from the server is written to standard output.

gqt -e https://your.app.com/graphql
GraphQL Armor
The missing GraphQL security layer for Apollo GraphQL and Yoga / Envelop servers.
Last release 3 months ago455MIT License