# marmelab/json-graphql-server

Get a full fake GraphQL API with zero coding in less than 30 seconds.

Repository: https://github.com/marmelab/json-graphql-server
Canonical: https://ross.abutalabs.com/products/json-graphql-server
Language: JavaScript
License: MIT
License Family: permissive
Topics: graphql, graphql-server, express-graphql
Last push: 2026-08-02T04:55:39+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 62, longevity 100
- inputs: {"age_days": 3408, "days_push": 31, "days_rel": 92, "gap_med": 156, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1949, forks 166 (observed 2026-08-28T04:05:58.114329+00:00)

## What it is
A Node.js tool that spins up a full fake GraphQL API from a JSON data file with zero coding in under 30 seconds. Inspired by json-server, it auto-generates GraphQL types, queries, and relations from your data for learning, prototyping, and testing.

## Use cases
- spin up a fake GraphQL API from a JSON file
- learn GraphQL without installing many packages
- mock a GraphQL backend for frontend development
- prototype an API before building the real backend
- run a local GraphQL server for testing queries
- generate a GraphQL schema automatically from data

## When to choose
- you need a quick mock GraphQL server for development or demos
- you're learning GraphQL and want a working API immediately
- you want schema generation from existing JSON data with no code

## When to avoid
- you need a production GraphQL API with custom resolvers, auth, or persistence
- you need mutations or complex business logic beyond simple CRUD queries
- your data doesn't fit the simple entity-with-id model

## Facets
- artifact type: cli-tool
- maturity: active
- function: graphql, http-server, mock-api, cli, testing
- domain: developer-tools, apis, testing, web-development
- platform: cli
- tags: graphql-mocking, fake-api, json-data, zero-config, prototyping, nodejs, web-server

## Member repositories
- marmelab/json-graphql-server (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:58.114329+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-30T03:06:54.463975+00:00, confidence not recorded.
  - readme: https://github.com/marmelab/json-graphql-server (fetched 2026-08-28T04:05:58.114329+00:00, sha 8218a7883df9)
  - registry_npm: https://registry.npmjs.org/json-graphql-server (fetched 2026-08-29T10:46:52.750554+00:00, sha fc35a69ea41f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
