{"id":31392849,"url":"https://github.com/formidablelabs/trygql","last_synced_at":"2025-09-29T04:48:14.142Z","repository":{"id":37249558,"uuid":"353463743","full_name":"FormidableLabs/trygql","owner":"FormidableLabs","description":"Purpose-built Demo APIs for GraphQL; never write a schema for your client-side GraphQL demo apps twice.","archived":false,"fork":false,"pushed_at":"2023-10-16T16:25:06.000Z","size":10620,"stargazers_count":32,"open_issues_count":0,"forks_count":1,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-06-07T05:35:31.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://trygql.formidable.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/FormidableLabs.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":"2021-03-31T19:11:24.000Z","updated_at":"2024-02-14T12:38:00.000Z","dependencies_parsed_at":"2024-11-14T15:36:24.872Z","dependency_job_id":"8eb69d75-34ec-4e4c-ac18-c7639975af32","html_url":"https://github.com/FormidableLabs/trygql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FormidableLabs/trygql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Ftrygql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Ftrygql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Ftrygql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Ftrygql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FormidableLabs","download_url":"https://codeload.github.com/FormidableLabs/trygql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Ftrygql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277467480,"owners_count":25822917,"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-09-29T02:00:09.175Z","response_time":84,"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":"2025-09-29T04:48:08.901Z","updated_at":"2025-09-29T04:48:14.134Z","avatar_url":"https://github.com/FormidableLabs.png","language":"JavaScript","readme":"\u003ca href=\"https://formidable.com/open-source/\" target=\"_blank\"\u003e\n  \u003cimg alt=\"trygql — Formidable, We build the modern web\" src=\"https://raw.githubusercontent.com/FormidableLabs/trygql/master/trygql-Hero.png\" /\u003e\n\u003c/a\u003e\n\u003cstrong\u003ePurpose-built Demo APIs for GraphQL.\u003c/strong\u003e\n\n---\n\n`trygql` is a public collection of GraphQL schemas, providing different common scenarios for\ntesting GraphQL APIs and demonstrating features for GraphQL clients.\nIt consists of several schemas that can all be used and integrated into a demo app to test different\nbehaviour and to retrieve testing data. Notably, the API attempts to cover as many common behaviours\nand features (like file uploads \u0026 persisted queries), so that demos can focus on just providing the\nclient-side app.\n\nIt's used in [`urql`'s example projects](https://github.com/FormidableLabs/urql/tree/main/examples)\nto show realistic uses of real GraphQL schemas with some schemas also storing persistent state.\n\nEach schema is written using [GraphQL Nexus](https://nexusjs.org/), the API is exposed via\n[fastify's mercurius](https://mercurius.dev/), and is hosted on [Fly.io](https://fly.io/). Each\nschema allows queries using `POST` and `GET` methods.\n\n## Public Schemas\n\n| Schema | Description | Links |\n| --- | ----------- | -------- |\n| Basic Pokedex | The Pokedex API provide simple lists and fields for Pokémon data, which is highly static and perfect for \"Getting Started\" examples. | [Endpoint](https://trygql.dev/graphql/basic-pokedex) [Schema](./graphql/basic-pokedex/__generated/schema.gen.graphql) |\n| Intermittent Colors | A simple schema returning color data from an XKCD survey, which is a small data set. Fields on this schema have a high random change of erroring, which is good for testing retry logic. | [Endpoint](https://trygql.dev/graphql/intermittent-colors) [Schema](./graphql/intermittent-colors/__generated/schema.gen.graphql) |\n| APQ Weather | A weather schema calling out to `metaweather.com` supporting \"Automatic Persisted Queries\". This data changes often but is cached for short periods. | [Endpoint](https://trygql.dev/graphql/apq-weather) [Schema](./graphql/apq-weather/__generated/schema.gen.graphql) |\n| Uploads Mock | A mock file upload schema, which doesn't retain or host uploaded files, but simulates a full upload flow. | [Endpoint](https://trygql.dev/graphql/uploads-mock) [Schema](./graphql/uploads-mock/__generated/schema.gen.graphql) |\n| Relay npm | A Relay-compliant schema for querying data from the npm registry. This data has highly variable response times and realistic pagination fields.| [Endpoint](https://trygql.dev/graphql/relay-npm) [Schema](./graphql/relay-npm/__generated/schema.gen.graphql) |\n| Web Collections | A full app schema, which allows users to register \u0026 signin and save links to blog posts, with a small leaderboard. This schema isn't collaborative but good for testing writing full app demos with authentication logic. | [Endpoint](https://trygql.dev/graphql/web-collections) [Schema](./graphql/web-collections/__generated/schema.gen.graphql) |\n\n**Go to [trygql.formidable.dev](https://trygql.formidable.dev/) to explore or query these schemas.**\n\n## Maintenance Status\n\n**Stable:** Formidable is not planning to develop any new features for this project. We are still responding to bug reports and security concerns. We are still welcoming PRs for this project, but PRs that include new features should be small and easy to integrate and should not include breaking changes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformidablelabs%2Ftrygql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformidablelabs%2Ftrygql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformidablelabs%2Ftrygql/lists"}