# typicode/json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

Repository: https://github.com/typicode/json-server
Canonical: https://ross.abutalabs.com/products/json-server
Language: JavaScript
License: MIT
License Family: permissive
Topics: api, fake, frontend, json, mock, rest, test
Last push: 2026-03-23T19:40:00+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 73, release rhythm 76, longevity 100
- inputs: {"age_days": 4662, "days_push": 163, "days_rel": 163, "gap_med": 4, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 75690, forks 7271 (observed 2026-08-28T04:12:21.549052+00:00)

## What it is
A Node.js CLI tool that turns a JSON file into a full fake REST API with CRUD endpoints, filtering, and pagination in seconds. It is widely used for frontend prototyping and testing without a real backend.

## Use cases
- spin up a fake REST API from a  file
- mock a backend for frontend development
- prototype an app before the real API exists
- test http clients against a local rest server
- create dummy endpoints for demos
- serve  data as an api

## When to choose
- you need a quick mock REST API with zero coding
- you are building or testing a frontend without a backend
- you want realistic CRUD endpoints for demos or tutorials

## When to avoid
- you need a production backend with auth, validation, or persistence
- you need GraphQL or non-REST protocols
- you need fine-grained custom business logic in endpoints

## Facets
- artifact type: cli-tool
- maturity: active
- function: http-server, mock-api, api-framework, testing
- domain: developer-tools, apis, web-development, testing
- platform: cli, cross-platform
- tags: fake-rest-api, mocking, prototyping, frontend-development, nodejs

## Member repositories
- typicode/json-server (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:21.549052+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-29T16:14:29.798666+00:00, confidence not recorded.
  - readme: https://github.com/typicode/json-server (fetched 2026-08-28T04:12:21.549052+00:00, sha 5118d9238c5a)
  - registry_npm: https://registry.npmjs.org/json-server (fetched 2026-08-28T17:44:45.083049+00:00, sha 89bf689b74a9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
