Gatsby has a rich ecosystem of data source plugins—we don't have time go through all of them. It's common for a Gatsby source plugin to reach out to another system and fetch data over the network at build time. The gatsby-source-hacker-news plugin is a great plugin to start with, so that you can see how this fetching process works with Gatsby.
git clone https://github.com/ajayns/gatsby-hacker-news.git cd gatsby-hacker-news
Then you can install dependencies, including the gatsby-source-hacker-news plugin:
You don't need to edit the project ...