{"id":15770289,"url":"https://github.com/benbowes/serverless-nodejs-graphql-test","last_synced_at":"2026-02-24T01:02:44.069Z","repository":{"id":40717161,"uuid":"266985752","full_name":"benbowes/serverless-nodejs-graphql-test","owner":"benbowes","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-09T23:36:42.000Z","size":1001,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-05T14:23:30.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mpb76lfdbj.execute-api.ap-southeast-2.amazonaws.com/dev/","language":"JavaScript","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/benbowes.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}},"created_at":"2020-05-26T08:22:48.000Z","updated_at":"2021-06-18T01:36:48.000Z","dependencies_parsed_at":"2023-02-08T16:01:16.279Z","dependency_job_id":null,"html_url":"https://github.com/benbowes/serverless-nodejs-graphql-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benbowes/serverless-nodejs-graphql-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fserverless-nodejs-graphql-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fserverless-nodejs-graphql-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fserverless-nodejs-graphql-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fserverless-nodejs-graphql-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbowes","download_url":"https://codeload.github.com/benbowes/serverless-nodejs-graphql-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fserverless-nodejs-graphql-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281032287,"owners_count":26432754,"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-25T02:00:06.499Z","response_time":81,"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":[],"created_at":"2024-10-04T14:23:33.099Z","updated_at":"2025-10-25T22:44:04.622Z","avatar_url":"https://github.com/benbowes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-nodejs-graphql-test\n\n## A serverless GraphQL AWS lambda endpoint\n\n#### Some example queries\n\nNote: `start` is zero based, whereas `count` is not zero based\n\n## Getting started locally\n\n`npm i \u0026\u0026 npm run dev`\n\n```\n// Request a fragment of products\n\n\nquery {\n    product(start:10, count: 10) {\n        totalResults\n        start\n        count\n        products {\n            id\n            color\n            name\n            price\n        }\n    }\n}\n\n// Returns the 2nd product, through to the 11th product\n```\n\n```\n// Request one product\n\nquery {\n    product(id: \"7\") {\n        totalResults\n        start\n        count\n        products {\n            id\n            color\n            name\n            price\n        }\n    }\n}\n\n// Returns the product that matches the id\n```\n\n```\n// Request via serach term\n\nquery {\n    product(searchTerm: \"chair\", start: 3, count: 10) {\n        totalResults\n        start\n        count\n        products {\n            id\n            color\n            name\n            price\n        }\n    }\n}\n\n// Returns the products that matches on color or name begining at the 3rd result, up to ten results\n```\n\n```\n// Request all products\n\nquery {\n    product {\n        totalResults\n        start\n        count\n        products {\n            id\n            color\n            name\n            price\n        }\n    }\n}\n\n// Returns all products\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbowes%2Fserverless-nodejs-graphql-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbowes%2Fserverless-nodejs-graphql-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbowes%2Fserverless-nodejs-graphql-test/lists"}