Skip to content

abhijeets-ht/graphcms-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

391 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Remote Fields 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 Rich Text Renderer Next.js app demonstrating how to render Rich Text with @graphcms/rich-text-react-renderer https://graphcms-using-rich-text-react-renderer.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 Svelte example using Sapper https://graphcms-with-sapper.now.sh
SvelteKit A Svelte example using SvelteKit and graphql-request to fetch data https://graphcms-with-sveltekit.now.sh

About

Example projects to help you get started with GraphCMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 59.9%
  • JavaScript 29.0%
  • Vue 3.7%
  • Svelte 3.4%
  • HTML 2.6%
  • CSS 0.8%
  • Other 0.6%