Starters

Get going quickly with a GraphQL Starter project.

This starter is a straightforward blog website using React. Here are some of the features of this project:

  • GraphQL introspection query
  • Working previews
  • Prismic toolbar

The 4 implementations using the GraphQL pagination demonstrated in this project are:

  • Recursively querying all documents of a type (more than the 20 item limit)
  • An infinite loader button
  • Next & Previous results buttons
  • A full pagination example
Website preview
BlogPagination and Preview starter

Simple blog website showcasing a number of pagination methods with React and GraphQL.

Getting started

Here is how to get this starter project up and running.

Install dependencies

After downloading the project files. Open your terminal to the root of the project and run the following command.

Copy
npm install

Run the app in the dev mode

Run the following command and open your browser to http://localhost:3000 to view the project in development mode.

Copy
npm start

Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.