Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
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
}
© 2024 Gatsby, Inc.