Getting development resources for GraphQL

Find GraphQL resources for developing Kentico Kontent powered apps.

Note: The open source software listed on this page is maintained by the community. If you have questions about the open source software or want to report bugs, we recommend submitting issues in the appropriate GitHub repository.

Table of contents

    GraphQL is a query language designed to decouple the data an app needs from the queries required to fetch it. You can think of GraphQL as a middleman between your application and Kentico Kontent. It lets you query content from your project without worrying about the specifics of the REST API that's used behind the scenes.

    Boilerplate for Express apps

    You can fetch content from Kentico Kontent projects through GraphQL queries by using the Kentico Cloud Boilerplate for Express.js apps. Follow the instructions in the Quick start to get started.

    To enable execution of GraphQL queries, the boilerplate uses an Apollo server as a converter from the Kentico Kontent Delivery API to GraphQL. If you don't want to use Express.js in your app, you can also integrate with other HTTP servers, such as Connect, Restify, and Hapi.

    Further reading

    Gatsby

    If you're building a site using a static site generator such as Gatsby, you can also use GraphQL queries to fetch content. A source plugin for Gatsby that creates GraphQL nodes for the content in your Kentico Kontent project is available as the gatsby-source-kentico-cloud npm package.

    Example sites

    Sample appDescription
    Starter siteThe Gatsby starter site using Kentico Kontent is a simple site demonstrating the use of the Gatsby source plugin for Kentico Cloud. It pulls content from Kentico Kontent to display a personal site with links to blog posts and projects.
    Kentico AdvantageA full website dedicated to best practices for developing websites with Kentico EMS. The content for the site is pulled from Kentico Kontent.
    Kentico Developer CommunityA single page dedicated to the Kentico Developer Community. The content for the site is pulled from Kentico Kontent.

    Supported features

    Learn more about any of the supported features by clicking View docs to open the relevant source plugin documentation.

    FeatureAvailabilityDocumentation
    Retrieve content itemsView docs
    Secure accessView docs
    Preview unpublished content itemsView docs
    Filter content items
    LocalizationView docs
    Retrieve linked items and items in Rich textView docs
    Retrieve content as strongly-typed modelsView docs
    Render components and items in Rich textView docs
    Resolve links to content items in Rich textView docs
    Retrieve taxonomy groups
    Retrieve latest content (skip CDN)

    Further reading

    Gridsome

    Gridsome is a static site generator that fetches content using GraphQL. You can then develop your website using Vue.js. A source plugin for Gridsome that uses GraphQL is available as the gridsome-source-kentico-cloud npm package.

    FeatureAvailabilityDocumentation
    Retrieve content itemsView docs
    Secure accessView docs
    Preview unpublished content itemsView docs
    Filter content itemsView docs
    Localization
    Retrieve linked items and items in Rich text
    Retrieve content as strongly-typed modelsView docs
    Render components and items in Rich textView docs
    Resolve links to content items in Rich textView docs
    Retrieve taxonomy groupsView docs
    Retrieve latest content (skip CDN)