{"id":13469508,"url":"https://github.com/stepci/garph","last_synced_at":"2025-05-15T08:11:32.504Z","repository":{"id":73873985,"uuid":"604320498","full_name":"stepci/garph","owner":"stepci","description":"Fullstack GraphQL Framework for TypeScript","archived":false,"fork":false,"pushed_at":"2024-03-01T21:55:54.000Z","size":360,"stargazers_count":1319,"open_issues_count":27,"forks_count":17,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-14T10:35:46.775Z","etag":null,"topics":["graphql","schema-builder","trpc","typescript"],"latest_commit_sha":null,"homepage":"https://garph.dev","language":"TypeScript","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/stepci.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":"2023-02-20T20:09:27.000Z","updated_at":"2025-03-31T02:55:49.000Z","dependencies_parsed_at":"2024-03-01T22:48:04.908Z","dependency_job_id":null,"html_url":"https://github.com/stepci/garph","commit_stats":{"total_commits":124,"total_committers":3,"mean_commits":"41.333333333333336","dds":"0.032258064516129004","last_synced_commit":"407745e7973b7f6ad2d866f275985fe71f2e9529"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepci%2Fgarph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepci%2Fgarph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepci%2Fgarph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepci%2Fgarph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stepci","download_url":"https://codeload.github.com/stepci/garph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301576,"owners_count":22047905,"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":["graphql","schema-builder","trpc","typescript"],"created_at":"2024-07-31T15:01:42.822Z","updated_at":"2025-05-15T08:11:27.485Z","avatar_url":"https://github.com/stepci.png","language":"TypeScript","readme":"# garph\n\nhttps://user-images.githubusercontent.com/10400064/222474710-bc263775-06b8-4a78-8099-676a9ad3c7a4.mov\n\n\u003e **Warning**:\n\u003e We would love to hear your Feedback in our [Discord](https://discord.gg/KqJJzJ3BTu)\n\n\u003e **Note**:\n\u003e tRPC-style client for Garph has arrived! See [garph-gqty](https://github.com/stepci/garph-gqty) for more 🚀\n\nGarph is a fullstack GraphQL framework for TypeScript, that aims to deliver the best GraphQL Developer-Experience.\n\n## Get started\n\n1. Install the dependencies\n\n    ```\n    npm i garph graphql-yoga\n    ```\n\n2. Create example GraphQL API\n\n    ```ts\n    import { g, InferResolvers, buildSchema } from 'garph'\n    import { createYoga } from 'graphql-yoga'\n    import { createServer } from 'http'\n\n    const queryType = g.type('Query', {\n      greet: g.string()\n        .args({\n          name: g.string().optional().default('Max')\n        })\n        .description('Greets a person')\n    })\n\n    const resolvers: InferResolvers\u003c{ Query: typeof queryType }, {}\u003e = {\n      Query: {\n        greet: (parent, args, context, info) =\u003e `Hello, ${args.name}`\n      }\n    }\n\n    const schema = buildSchema({ g, resolvers })\n    const yoga = createYoga({ schema })\n    const server = createServer(yoga)\n    server.listen(4000, () =\u003e {\n      console.info('Server is running on http://localhost:4000/graphql')\n    })\n    ```\n\n3. Start the server\n\n    ```\n    npx ts-node server.ts\n    ```\n\n4. Query the API\n\n    Go to: http://localhost:4000/graphl\n\n    Enter the following query:\n\n    ```graphql\n    {\n      greet(name: \"Max\")\n    }\n    ```\n\n    Click on the play button\n\n## Documentation\n\nDocumentation is available on [garph.dev/docs](https://garph.dev/docs)\n\n## Examples\n\nExample projects can be found under [examples/](examples/)\n\n## Feedback\n\nWe would love to hear your Feedback in our [Discord](https://discord.gg/KqJJzJ3BTu) community\n","funding_links":[],"categories":["TypeScript","Libraries","Implementations","typescript","**1. Libraries**"],"sub_categories":["JavaScript/TypeScript","APIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepci%2Fgarph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstepci%2Fgarph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepci%2Fgarph/lists"}