{"id":18115496,"url":"https://github.com/d12/graphql-remote_loader_example","last_synced_at":"2025-04-06T09:30:00.622Z","repository":{"id":133995254,"uuid":"137301682","full_name":"d12/graphql-remote_loader_example","owner":"d12","description":"An example app showing how to use graphql-remote_loader","archived":false,"fork":false,"pushed_at":"2018-12-04T15:13:00.000Z","size":76,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T15:18:05.405Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d12.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":"2018-06-14T03:31:09.000Z","updated_at":"2020-03-22T05:56:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1589fcc-fc6b-474f-9830-29177bc0589d","html_url":"https://github.com/d12/graphql-remote_loader_example","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/d12%2Fgraphql-remote_loader_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fgraphql-remote_loader_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fgraphql-remote_loader_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d12%2Fgraphql-remote_loader_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d12","download_url":"https://codeload.github.com/d12/graphql-remote_loader_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463736,"owners_count":20942935,"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-01T03:10:08.330Z","updated_at":"2025-04-06T09:30:00.584Z","avatar_url":"https://github.com/d12.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Remote Loader Example App\n\nThis is a simple Rails app showing how to use [`graphql-remote_loader`](https://github.com/d12/graphql-remote_loader). This app exposes a GraphQL API with fields backed by the GitHub GraphQL API.\n\n![](https://i.imgur.com/H16uFGQ.png)\n\n## Important files\n\nThere are four relevant files when it comes to understanding how `graphql-remote_loader` is used. To learn how the example app works, read the inline comments in each file:\n\n1. http://github.com/d12/graphql-remote_loader_example/blob/master/app/graphql/types/query_type.rb\n2. https://github.com/d12/graphql-remote_loader_example/blob/master/app/graphql/loaders/github_loader.rb\n3. http://github.com/d12/graphql-remote_loader_example/blob/master/config/application.rb\n4. http://github.com/d12/graphql-remote_loader_example/blob/master/app/graphql/graphql_remote_loader_example_schema.rb\n\n## Running locally\n\nFirst, install the gems:\n\n```bash\nbundle install\n```\n\nDone! To run the app:\n\n```bash\nTOKEN=$GITHUB_TOKEN rails server\n```\n\n## Authorization\n\nThis app is configured to use a GitHub personal access token provided as an ENV variable at runtime.\n\nIn a real world application, authorization would be more robust.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd12%2Fgraphql-remote_loader_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd12%2Fgraphql-remote_loader_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd12%2Fgraphql-remote_loader_example/lists"}