GatsbyJS getting data from Restful API
If you want to use GraphQL to fetch your data, you have to create a sourceNode. The doc about creating a source plugin could help you. Follow these steps to be able to query randomuser data with GraphQL in your Gatsby project. 1) Create nodes in gatsby-node.js In your root project folder, add this code … Read more