Community Plugin
View plugin on GitHubgatsby-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
}