For example here I have a Gatsby website that pulls the content from Contentful.
The API part here is Contentful I am using Contentful's API to pull content and render it at build time in my website but since a Gatsby website is a full-blown React App at the end of the day you can call APIs also at runtime like Authentication.
A monolithic server-run web app that relies on a server technology like Ruby, python or Nodejs. What is also not JAMstack is a website that is baked
[00:39] To use APIs in Gatsby, we use source plugins that will load the data from any service, like Contentful, and plug it into your website through GraphQL. In this project, I already added the Gatsby source Contentful plugin.
[00:56] Now, we can render a list of lessons from my Contentful space into my Gatsby website.
[01:02] First, let's import GraphQL from Gatsby. Now we create the query. To do that, we simply export a variable. We call the Gatsby GraphQL. Finally, let's render the data. You can see here the data coming from Contentful render in Gatsby. Finally, when we build this website to production, it will produce a static HTML website.