{"id":13464382,"url":"https://github.com/wp-graphql/graphql-gutenblock-example","last_synced_at":"2025-10-16T10:54:25.007Z","repository":{"id":83806666,"uuid":"139159330","full_name":"wp-graphql/graphql-gutenblock-example","owner":"wp-graphql","description":"Example Gutenberg Block using WPGraphQL to populate the data","archived":false,"fork":false,"pushed_at":"2018-06-29T17:55:17.000Z","size":3243,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T06:23:06.094Z","etag":null,"topics":["graphql","gutenberg","javascript","php","react","wordpress","wordpress-plugin","wpgraphql"],"latest_commit_sha":null,"homepage":"https://wpgraphql.com","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/wp-graphql.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}},"created_at":"2018-06-29T14:30:58.000Z","updated_at":"2024-10-07T14:22:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0a17e62-9008-4f28-9e19-759e6648f3fb","html_url":"https://github.com/wp-graphql/graphql-gutenblock-example","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"7693b9d7d36ecc483d0e3e7aa30651717f19b312"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/wp-graphql/graphql-gutenblock-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fgraphql-gutenblock-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fgraphql-gutenblock-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fgraphql-gutenblock-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fgraphql-gutenblock-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-graphql","download_url":"https://codeload.github.com/wp-graphql/graphql-gutenblock-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fgraphql-gutenblock-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279180411,"owners_count":26120707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["graphql","gutenberg","javascript","php","react","wordpress","wordpress-plugin","wpgraphql"],"created_at":"2024-07-31T14:00:41.877Z","updated_at":"2025-10-16T10:54:24.973Z","avatar_url":"https://github.com/wp-graphql.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# GraphQL Gutenblock Example\n\nThis is an example showing how to use GraphQL (via the WPGraphQL plugin) to populate data in a\nGutenberg block. \n\n![](img/5-backend-use-query-fragment.png)\n\n# Create Guten Block\n\nThis project was bootstrapped with [Create Guten Block](https://github.com/ahmadawais/create-guten-block).\n\nBelow you will find some information on how to run scripts.\n\n\u003eYou can find the most recent version of this guide [here](https://github.com/ahmadawais/create-guten-block).\n\n## 👉  `npm start`\n- Use to compile and run the block in development mode.\n- Watches for any changes and reports back any errors in your code.\n\n## 👉  `npm run build`\n- Use to build production code for your block inside `dist` folder.\n- Runs once and reports back the gzip file sizes of the produced code.\n\n## 👉  `npm run eject`\n- Use to eject your plugin out of `create-guten-block`.\n- Provides all the configurations so you can customize the project as you want.\n- It's a one-way street, `eject` and you have to maintain everything yourself.\n- You don't normally have to `eject` a project because by ejecting you lose the connection with `create-guten-block` and from there onwards you have to update and maintain all the dependencies on your own.\n\n---\n\n###### Feel free to tweet and say 👋 at me [@MrAhmadAwais](https://twitter.com/mrahmadawais/)\n\n[![npm](https://img.shields.io/npm/v/create-guten-block.svg?style=flat-square)](https://www.npmjs.com/package/create-guten-block) [![npm](https://img.shields.io/npm/dt/create-guten-block.svg?style=flat-square\u0026label=downloads)](https://www.npmjs.com/package/create-guten-block)  [![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](https://github.com/ahmadawais/create-guten-block) [![Tweet for help](https://img.shields.io/twitter/follow/mrahmadawais.svg?style=social\u0026label=Tweet%20@MrAhmadAwais)](https://twitter.com/mrahmadawais/) [![GitHub stars](https://img.shields.io/github/stars/ahmadawais/create-guten-block.svg?style=social\u0026label=Stars)](https://github.com/ahmadawais/create-guten-block/stargazers) [![GitHub followers](https://img.shields.io/github/followers/ahmadawais.svg?style=social\u0026label=Follow)](https://github.com/ahmadawais?tab=followers)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-graphql%2Fgraphql-gutenblock-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-graphql%2Fgraphql-gutenblock-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-graphql%2Fgraphql-gutenblock-example/lists"}