Skip navigation

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.

    Schema generator

    You can find a GraphQL schema generator as the @kentico/kontent-schema-generator-graphqlOpens in a new window npm package.

    Boilerplate for Express apps

    You can fetch content from Kentico Kontent projects through GraphQL queries by using the Kentico Kontent BoilerplateOpens in a new window for Express.js apps. Follow the instructions in the Quick startOpens in a new window 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 serversOpens in a new window, 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 @kentico/gatsby-source-kontentOpens in a new window npm package.

    Example sites

    Sample appDescription
    Starter siteOpens in a new windowThe Gatsby starter site using Kentico Kontent is a simple site demonstrating the use of the Gatsby source plugin for Kentico KontentOpens in a new window. It pulls content from Kentico Kontent to display a personal site with links to blog posts and projects.
    Kentico AdvantageOpens in a new windowA full website dedicated to best practices for developing websites with Kentico EMSOpens in a new window. The content for the site is pulled from Kentico Kontent.
    Kentico Developer CommunityOpens in a new windowA 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 docsOpens in a new window
    Secure accessView docsOpens in a new window
    Preview unpublished content itemsView docsOpens in a new window
    Filter content items
    LocalizationView docsOpens in a new window
    Retrieve linked items and items in Rich textView docsOpens in a new window
    Retrieve content as strongly-typed models
    Render components and items in Rich textView docsOpens in a new window
    Resolve links to content items in Rich textView docsOpens in a new window
    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-kontent npm package.

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