Learning GraphQL

GUAC exposes its software supply chain graph through a GraphQL API. If you are new to GraphQL, these resources can help you understand queries and explore GUAC’s schema before building your own integrations.

Start with the fundamentals

  • Learn GraphQL introduces schemas, types, queries, mutations, and introspection. Start here if GraphQL is new to you.
  • GraphQL queries explains how to select fields and use arguments, variables, and fragments when querying an API.

Follow a guided tutorial

  • How to GraphQL offers free, practical tutorials, including GraphQL fundamentals and language-specific examples.
  • GraphQL training courses curates tutorials and courses from the GraphQL community.

Try GraphQL with GUAC

Start the GUAC GraphQL server with guacgql --gql-debug to enable its playground. Use the playground’s documentation explorer to discover available queries and types, then try selecting fields from GUAC’s graph.

For GUAC-specific examples, see the GraphQL API demo and GUAC GraphQL definitions. The resources above teach general GraphQL concepts; the GUAC pages describe GUAC’s own API.