# APIs-guru/graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.

Repository: https://github.com/APIs-guru/graphql-faker
Canonical: https://ross.abutalabs.com/products/graphql-faker
Language: TypeScript
License: MIT
License Family: permissive
Topics: graphql, idl, faked-data, mock, faker, api
Last push: 2023-11-24T10:43:43+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3474, "days_push": 1013, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2713, forks 229 (observed 2026-08-28T04:07:11.936377+00:00)

## What it is
A CLI tool that mocks GraphQL APIs with realistic faked data based on GraphQL SDL, using @fake, @examples, and @listLength directives with no coding required. It can also proxy an existing GraphQL API and extend it with mock data mixed with real responses.

## Use cases
- mock a graphql api before the backend exists
- generate fake data for graphql queries from an sdl schema
- extend an existing graphql api with extra faked fields
- spin up a local graphql mock server for frontend development
- test client integrations against realistic fake graphql responses

## When to choose
- you need a graphql mock server quickly without writing code
- you want to prototype an api design in sdl with realistic data
- you need to mix real upstream graphql data with mocked fields

## When to avoid
- you need deterministic or stateful mock behavior with custom resolvers
- your mocks must run in CI without a node runtime and you prefer a library
- you need mocking for REST or gRPC rather than graphql

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: mock-api, graphql, http-server, data-generation, cli
- domain: developer-tools, apis, web-development, testing
- platform: cli, cross-platform
- tags: graphql-mocking, faker, sdl, graphiql, proxy, mock-server, nodejs, docker

## Member repositories
- APIs-guru/graphql-faker (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.936377+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:31.952221+00:00, confidence not recorded.
  - readme: https://github.com/APIs-guru/graphql-faker (fetched 2026-08-28T04:07:11.936377+00:00, sha 59df466df085)
- Data as of 2026-08-30T08:39:29.467469+00:00.
