Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub

gatsby-source-datenguide

Plugin for pulling data into Gatsby from the Datenguide API

Install

yarn add gatsby-source-datenguide

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-source-datenguide',
    options: {
      queryUrl: 'http://127.0.0.1:5000/\?query\=',
    }
  }
];

How to query

You can query nodes created from Datenguide like the following:

query StoriesQuery {
  allDistrict
}
© 2022 Gatsby, Inc.