{"id":24571970,"url":"https://github.com/manojtharindu11/graphql","last_synced_at":"2026-05-15T12:03:19.115Z","repository":{"id":272577071,"uuid":"915149638","full_name":"manojtharindu11/graphQL","owner":"manojtharindu11","description":"This repository consist of simple GraphQL concepts like create typeDefs, resolvers and mutaions using JavaScript.","archived":false,"fork":false,"pushed_at":"2025-01-15T09:59:09.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T01:37:21.702Z","etag":null,"topics":["apollo-server","graphql","mutations","query"],"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/manojtharindu11.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":"2025-01-11T05:10:30.000Z","updated_at":"2025-01-15T10:02:21.000Z","dependencies_parsed_at":"2025-01-15T11:44:50.808Z","dependency_job_id":"897698cf-10db-4c66-940a-c5477c3cff43","html_url":"https://github.com/manojtharindu11/graphQL","commit_stats":null,"previous_names":["manojtharindu11/graphql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manojtharindu11/graphQL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojtharindu11%2FgraphQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojtharindu11%2FgraphQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojtharindu11%2FgraphQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojtharindu11%2FgraphQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manojtharindu11","download_url":"https://codeload.github.com/manojtharindu11/graphQL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manojtharindu11%2FgraphQL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33066132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-server","graphql","mutations","query"],"created_at":"2025-01-23T18:40:16.427Z","updated_at":"2026-05-15T12:03:19.073Z","avatar_url":"https://github.com/manojtharindu11.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **GraphQL**\n\nA brief summary of the GraphQL concepts I’ve explored:\n\n### **1. Schema and Types**  \nDefines API structure using `Query`, `Mutation`, and custom types.  \n```graphql\n    type Game {\n        id: ID!,\n        title: String!,\n        platform: [String!]!\n        reviews: [Review!]\n    }\n    type Review {\n        id: ID!,\n        rating: Int!,\n        content: String!,\n        game: Game!,\n        author: Author!\n    }\n    type Author {\n        id: ID!,\n        name: String!,\n        verified: Boolean!,\n        reviews: [Review!]\n    }\n```\n\n### **2. Resolver Functions**  \nFetches data for schema fields.  \n```javascript\n  Query: {\n    games() {\n      return db.games;\n    },\n    game(_, args) {\n      return db.games.find((game) =\u003e game.id === args.id);\n    },\n    reviews() {\n      return db.reviews;\n    },\n    review(_, args) {\n      return db.reviews.find((review) =\u003e review.id === args.id);\n    },\n    authors() {\n      return db.authors;\n    },\n    author(_, args) {\n      return db.authors.find((author) =\u003e author.id === args.id);\n    },\n  }\n```\n\n### **3. Query Variables**  \nEnable dynamic queries.  \n```graphql\nquery GamesQuery($id: ID!) {\ngame(id: $id) {\n  title,\n  platform,\n  reviews {\n    content,\n    rating\n  }\n}}\n```\n\n### **4. Related Data**  \nFetch nested relationships.  \n```graphql\n    type Game {\n        reviews: [Review!]\n    }\n```\n\n### **5. Mutations**  \nPerform data operations like add, update, or delete.  \n```graphql\nmutation AddMutation($game: AddGameInput!) {\n  addGame(game: $game) {\n    id,\n    title,\n    platform\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanojtharindu11%2Fgraphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanojtharindu11%2Fgraphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanojtharindu11%2Fgraphql/lists"}