{"id":18614900,"url":"https://github.com/andrewjbateman/next-graphql-graphcms","last_synced_at":"2026-04-20T03:02:17.051Z","repository":{"id":96860749,"uuid":"412587630","full_name":"AndrewJBateman/next-graphql-graphcms","owner":"AndrewJBateman","description":":clipboard: GraphCMS used to set up data models and allow public read access to the data using GraphQL.","archived":false,"fork":false,"pushed_at":"2023-02-28T13:31:20.000Z","size":573,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T01:34:29.698Z","etag":null,"topics":["apollo","graphcms-api","graphql","html5","javascript","nextjs","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-01T19:03:03.000Z","updated_at":"2021-10-06T21:39:26.000Z","dependencies_parsed_at":"2023-03-30T11:36:51.254Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/next-graphql-graphcms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/next-graphql-graphcms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-graphql-graphcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-graphql-graphcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-graphql-graphcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-graphql-graphcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/next-graphql-graphcms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-graphql-graphcms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apollo","graphcms-api","graphql","html5","javascript","nextjs","react"],"created_at":"2024-11-07T03:27:23.444Z","updated_at":"2026-04-20T03:02:17.029Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Next GraphQL GraphCMS\n\n* A Next.js React app using Apollo GraphQL Client to fetch data from a GraphCMS (Hygraph) API.\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/next-graphql-graphcms?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/next-graphql-graphcms?style=plastic)\n![GitHub repo stars](https://img.shields.io/github/stars/AndrewJBateman/next-graphql-graphcms?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/next-graphql-graphcms?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Next GraphQL GraphCMS](#zap-next-graphql-graphcms)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General Info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:clipboard: Status \u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General Info\n\n* **GraphQL** is a Query Language for storing \u0026 querying data, an alternative to traditional protocols such as REST API. GraphQL allows the client to request ONLY the data it needs from the server.\n* The **GraphCMS headless Content Management System (CMS)** uses GraphQL to query data and perform mutations (updates). Here an API is created and accessed from a Next.js frontend. A query is created in the GraphCMS Playground.\n* **GraphQL with GraphCMS** is good for blogs, e-commerce, Customer Relationship Management (CRM) \u0026 productivity software, simple apps \u0026 websites\n* **Headless** means that content data is created using a schema, then managed \u0026 stored as a standalone component without presentation logic.\n* **Next.js** is for server-rendered react apps. It has automatic code splitting, simple page-based routing, built-in CSS support and hot reloading. Every component file in the pages folder is treated as a page\n* Home page shows list of posts (streams), Clicking on a stream link navigates to a post detail page.\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/graphcms.png).\n\n## :signal_strength: Technologies\n\n* [Node.js v14](https://nodejs.org/) javascript runtime using the [Chrome V8 engine](https://v8.dev/).\n* [React v18](https://reactjs.org/) Javascript library.\n* [GraphQL v16](https://github.com/graphql/graphql-js)\n* [GraphCMS](https://graphcms.com/) production-ready Content API within minutes\n* [Apollo v2](https://www.apollographql.com/) GraphQL implementation data graph layer\n* [Apollo Client v3](https://www.npmjs.com/package/apollo-client) fully-featured caching GraphQL client\n* [Next v12](https://nextjs.org/) minimalist framework for rendering react apps on the server.\n\n## :floppy_disk: Setup\n\n* GraphCMS endpoint needs to be added to `apolloClient.js`\n* `npm run dev` runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n* `npm run build` builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\n\n## :computer: Code Examples\n\n* extract of tba\n\n```javascript\ntba\n```\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working - Basic. displays data from GraphCMS backend in Next.js frontend.\n* To-Do: Change image to next/image, Add data and change GraphQL schema to my blog. Add documentation \u0026 comments.\n\n## :clap: Inspiration\n\n* [GraphCMS Example Projects](https://github.com/GraphCMS/graphcms-examples)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnext-graphql-graphcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnext-graphql-graphcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnext-graphql-graphcms/lists"}