In this lesson, we will populate our application using data from the Google Blogger API to render a series of cards for each blog post. We’ll leverage async … await
functions to promote the use of modern, clean-coding patterns and we’ll also see how easy it is to customize Next.js’ webpack configuration by using Webpack to hide BLOGGER_API_URL
and API_KEY
as environment variables.
The json method does not come from JavaScript as mentioned in this video, it comes from the Fetch API - https://developer.mozilla.org/en-US/docs/Web/API/Body/json.