Sorting and Pagination in Strapi v4 GraphQL

I looked into how to perform sorting and pagination with Strapi v4’s GraphQL. Documentation was found at the following location. https://docs.strapi.io/dev-docs/api/graphql Specifically, pagination and sorting could be performed by writing queries like the following. q } u e b } r l y o m } d } g e a { P t p } t i a } o a a a d t s g t t c t { i o { r r s n t i e ( a a b a p t l u t a i t e g o e d i n s A n t a { { t i o n : { p a g e : 1 , p a g e S i z e : 1 0 } , s o r t : " c r e a t e d A t : d e s c " ) { I hope this serves as a helpful reference. ...

June 16, 2023 · 1 min · Nakamura

Trying GraphQL with Drupal

Overview I tried GraphQL with Drupal, so this is a personal note for future reference. The following document was helpful. https://drupal-graphql.gitbook.io/graphql/ This assumes Drupal installed on Amazon Lightsail. Module Installation Install the following module. https://www.drupal.org/project/graphql However, it was necessary to install the following module beforehand. https://www.drupal.org/project/typed_data As a result, the installation was completed with the following commands. c c c d o o m m / p p h o o o s s m e e e r r / b r r i e e t q q n u u a i i m r r i e e / s ' ' t d d a r r c u u k p p / a a d l l r / / u t g p y r a p a l e p d h _ q d l a : t ^ a 4 : . ^ 4 1 ' . 0 @ b e t a ' Module Installation from GUI I checked all three related modules below and installed them. ...

April 12, 2023 · 2 min · Nakamura

Adding GraphQL to Strapi

Overview In the following article, I launched Strapi on Amazon Lightsail. This time, I add GraphQL and try using it. Installing the GraphQL Plugin I ran the following. Please adjust paths like backend as needed. c y d a r n o p a t d / d b i @ t s n t a r m a i p / i a / p p a l c u h g e i 2 n / - h g t r d a o p c h s q / l b a c k e n d Then, start the application. ...

April 12, 2023 · 3 min · Nakamura