{"id":25135157,"url":"https://github.com/97-jeffrey/graphql-practice","last_synced_at":"2025-04-03T02:15:18.829Z","repository":{"id":53584528,"uuid":"347741978","full_name":"97-Jeffrey/graphQL-practice","owner":"97-Jeffrey","description":"Practice of GraphQL for querying the data.","archived":false,"fork":false,"pushed_at":"2021-03-23T05:42:21.000Z","size":1043,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T16:18:31.285Z","etag":null,"topics":["express-graphql","graphql"],"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/97-Jeffrey.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}},"created_at":"2021-03-14T20:06:21.000Z","updated_at":"2021-03-23T05:42:24.000Z","dependencies_parsed_at":"2022-08-27T01:31:17.028Z","dependency_job_id":null,"html_url":"https://github.com/97-Jeffrey/graphQL-practice","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/97-Jeffrey%2FgraphQL-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/97-Jeffrey%2FgraphQL-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/97-Jeffrey%2FgraphQL-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/97-Jeffrey%2FgraphQL-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/97-Jeffrey","download_url":"https://codeload.github.com/97-Jeffrey/graphQL-practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922246,"owners_count":20855345,"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":["express-graphql","graphql"],"created_at":"2025-02-08T16:18:33.867Z","updated_at":"2025-04-03T02:15:18.802Z","avatar_url":"https://github.com/97-Jeffrey.png","language":"JavaScript","readme":"# Practices of GraphQL:\n\n## The first part covers practices of GraphQL in express:\n\n### There are two resources:\n\n`author` and `book`.\nA author have a list of books, a book belongs to a single author.\n\n### By using GraphQL, querying data from resources become easy:\n\n![](https://github.com/97-Jeffrey/graphQL-practice/blob/master/doc/Screen%20Shot%202021-03-14%20at%209.08.46%20PM.png?raw=true)\n\n## The second part is a little project in folder \"tiny project\"\n\nI used data from `https://countries.trevorblades.com/` and used GraphQL to query data in my javaScript files. The dropdown list has all the continents. by selecting a continent, all countries in that continent are rendered.\n\n![](https://github.com/97-Jeffrey/graphQL-practice/blob/master/doc/Screen%20Shot%202021-03-21%20at%208.44.25%20PM.png?raw=true)\n\nIn the HTML, when the continent is changed, country lists are changed.\n\n![](https://github.com/97-Jeffrey/graphQL-practice/blob/master/doc/Screen%20Shot%202021-03-21%20at%208.45.22%20PM.png?raw=true)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F97-jeffrey%2Fgraphql-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F97-jeffrey%2Fgraphql-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F97-jeffrey%2Fgraphql-practice/lists"}