Awesome Open Source
Awesome Open Source

GraphCMS Examples

Example projects to help you get started with GraphCMS


Join our Slack · Read the Docs · Learn more about GraphCMS


GraphCMS Features & Recipes

Examples demonstrating how to use GraphCMS features.

Features Description Demo
Using Asset Upload Programmatically upload assets using the Asset Upload endpoint
Using Management SDK Basic Management SDK script to create a schema with Remote Fields to query data directly from the Stripe API
Using Mutations Next.js app demonstrating how to use GraphCMS mutations with graphql-request, SWR and API routes
Using Pagination Next.js app demonstrating how to paginate GraphCMS queries with graphql-request
Using Union Types A basic product marketing site using union types to compose UI 'blocks' with components. Built with Next.js, graphql-request and Tailwind CSS

Frameworks & Libraries

Examples demonstrating how to use GraphCMS with popular application frameworks.

Frameworks & Libraries Description Demo
Algolia Sync content to Algolia via webhooks on publish using Next.js API routes.
Apollo Client 3 Using Apollo Client 3 to query data from GraphCMS.
Apollo Server Using apollo-datasource-graphql to pull a GraphCMS schema into an existing Apollo Server
Express A simple Express app using ejs templating and awesome-graphql-client
Gatsby A basic Gatsby site that uses gatsby-source-graphcms to build product pages with data from GraphCMS
Gatsby (File System Route API) A basic Gatsby site that uses gatsby-source-graphcms to build product pages using Gatsby's File System Route API
Gatsby Image How to use gatsby-image with GraphCMS assets
GraphCMS Image How to use graphcms-image with Gatsby
GraphQL Codegen Automatically generated types for your GraphCMS project with GraphQL Code Generator
Gridsome A basic example using gridsome create CLI and @gridsome/source-graphql
MDX (with Gatsby) How to use gatsby-plugin-mdx with RichText fields from GraphCMS.
MDX (with Next.js) This example demonstrates how to use markdown fields from GraphCMS with MDX in Next.js
Next.js A basic Next.js application, featuring getStaticProps and getStaticPaths to build static product pages
Next.js i18n Routing How to use Next.js Internationalized Routing with GraphCMS content
Next.js Image How to use Next.js Image Component with GraphCMS assets
Next.js Image with Custom Loader How to use a custom loader function with Next.js Image Component and GraphCMS assets
Nuxt.js A simple Nuxt.js starter using create-nuxt-app CLI with Tailwind and Axios added
React.js This example demonstrates how to query from GraphCMS with graphql-request in React.js
Vue.js A vanilla Vue.js starter using vue create CLI with Vue Router
Sapper A SeveltJs example using Sapper

Built by the community

Name Author
Next.js 9 and Zeit Now Boilerplate UnlyEd
Cache Boilerplate UnlyEd
Next Admin Backoffice Boilerplate UnlyEd
Simple shopping cart using GridSome Deven

If you have created any examples with GraphCMS and want to see them featured here, reach out via our on-site chat on!

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (10,395
react (5,165
vue (4,039
graphql (1,015
nextjs (269
gatsby (222
nuxt (216
nuxtjs (120
apollo-server (40

Find Open Source By Browsing 7,000 Topics Across 59 Categories