Install and Query GraphQL API in Strapi

Share this video with your friends

Send Tweet

GraphQL is a powerful technology that lets you query the exact data that you need when you need it on your front end. Strapi allows for GraphQL integration through a plugin.

You can install GraphQL with the following command:

yarn strapi install graphql

You'll notice this adds GraphQL in your plugins tab within Strapi.

When that is installed you can navigate to /graphql in your Strapi project and query the data you have.

Victor
Victor
~ a year ago

Hi Daniel, really enjoying your course! Even the examples are great! Wanted to ask, which version of yarn are you using? Is there a specific version of yarn that´s recommended for use with a Strapi project? Thanks for a great course!