Lesson

Query an entry from Strapi in Next.js using Apollo, cross-fetch, and GraphQL

Now we are wanting to query that mock data in our application. We'll start off by installing `npm i @apollo/client cross-fetch graphql` in our Next.js application. We will create a new function called [getStaticProps](https://nextjs.org/docs/basic-features/data-fetching/get-static-props) which will do all of our fetching using Apollo and GraphQL.

Duration
6 min
Access
Included
Transcript
Needs source