Awesome Open Source
Awesome Open Source

GraphCMS Examples

Example projects to help you get started with GraphCMS

Links

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

Examples

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 https://graphcms-using-mutations.now.sh
Using Pagination Next.js app demonstrating how to paginate GraphCMS queries with graphql-request https://graphcms-using-pagination.vercel.app
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 https://graphcms-using-union-types.now.sh

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. https://graphcms-with-algolia.vercel.app
Apollo Client 3 Using Apollo Client 3 to query data from GraphCMS. https://graphcms-with-apollo-client-3.vercel.app
Apollo Server Using apollo-datasource-graphql to pull a GraphCMS schema into an existing Apollo Server https://graphcms-with-apollo-server.herokuapp.com
Express A simple Express app using ejs templating and awesome-graphql-client https://graphcms-with-express.herokuapp.com
Gatsby A basic Gatsby site that uses gatsby-source-graphcms to build product pages with data from GraphCMS https://graphcms-with-gatsby.now.sh
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 https://graphcms-with-gatsby-filesystem-routing.vercel.app
Gatsby Image How to use gatsby-image with GraphCMS assets https://graphcms-with-gatsby-image.now.sh
GraphCMS Image How to use graphcms-image with Gatsby https://graphcms-with-graphcms-image.now.sh
GraphQL Codegen Automatically generated types for your GraphCMS project with GraphQL Code Generator https://graphcms-with-graphql-codegen.vercel.app
Gridsome A basic example using gridsome create CLI and @gridsome/source-graphql https://graphcms-with-gridsome.now.sh
MDX (with Gatsby) How to use gatsby-plugin-mdx with RichText fields from GraphCMS. https://graphcms-with-gatsby-mdx.vercel.app
MDX (with Next.js) This example demonstrates how to use markdown fields from GraphCMS with MDX in Next.js https://graphcms-with-nextjs-mdx-remote.vercel.app
Next.js A basic Next.js application, featuring getStaticProps and getStaticPaths to build static product pages https://graphcms-with-nextjs.now.sh
Next.js i18n Routing How to use Next.js Internationalized Routing with GraphCMS content https://graphcms-with-nextjs-i18n-routing.vercel.app
Next.js Image How to use Next.js Image Component with GraphCMS assets https://graphcms-with-nextjs-image.vercel.app
Next.js Image with Custom Loader How to use a custom loader function with Next.js Image Component and GraphCMS assets https://graphcms-with-nextjs-image-loader.vercel.app
Nuxt.js A simple Nuxt.js starter using create-nuxt-app CLI with Tailwind and Axios added https://graphcms-with-nuxtjs.now.sh
React.js This example demonstrates how to query from GraphCMS with graphql-request in React.js https://graphcms-with-reactjs.now.sh
Vue.js A vanilla Vue.js starter using vue create CLI with Vue Router https://graphcms-with-vuejs.now.sh
Sapper A SeveltJs example using Sapper https://graphcms-with-sapper.now.sh

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 graphcms.com!


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