{"id":19237193,"url":"https://github.com/falm/graphql-rails-blog","last_synced_at":"2025-02-23T13:50:15.618Z","repository":{"id":148701705,"uuid":"59882658","full_name":"falm/graphql-rails-blog","owner":"falm","description":"Blog Demo for GraphQL on Rails","archived":false,"fork":false,"pushed_at":"2016-06-22T03:15:54.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T13:03:32.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/falm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-05-28T07:26:10.000Z","updated_at":"2016-06-16T10:04:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"614487ab-2fa2-41d2-8464-72293914454c","html_url":"https://github.com/falm/graphql-rails-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falm%2Fgraphql-rails-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falm%2Fgraphql-rails-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falm%2Fgraphql-rails-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falm%2Fgraphql-rails-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falm","download_url":"https://codeload.github.com/falm/graphql-rails-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240324060,"owners_count":19783453,"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","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":[],"created_at":"2024-11-09T16:25:16.115Z","updated_at":"2025-02-23T13:50:15.599Z","avatar_url":"https://github.com/falm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## GraphQL on Rails Blog Demo\n\u003e GraphQL与Rails结合的开发的例子\n\n### 主要的Gem\n```ruby\ngem 'graphql'\ngem 'graphiql-rails'\ngem 'graphql-libgraphqlparser', '~\u003e 0.2'\n```\n### 模型\n![ER图](http://upload-images.jianshu.io/upload_images/1767848-b7e262cc67dde74c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)  \n\n- 查询: **/queries/create**\n- schema定义 **app/graph/schemas/***\n- type **app/graph/types/***\n- mutation **app/graph/mutatinos/***\n\n### 使用\n\n访问 localhost:3000/graphql\n\n![GraphQL查询](http://upload-images.jianshu.io/upload_images/1767848-15b69df744a23011.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalm%2Fgraphql-rails-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalm%2Fgraphql-rails-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalm%2Fgraphql-rails-blog/lists"}