Mock JSON Server

JSON →
library 1.3.6 ·javascript maintenance
verified May 27, 2026

Mock JSON Server is a Node.js package designed to create simple, configurable mock REST APIs using a single JSON file. Released as version 1.3.6, with its last update approximately six years ago, it offers a straightforward solution for frontend developers needing temporary API backends during development or for prototyping. Unlike more feature-rich alternatives that dynamically generate endpoints from top-level JSON keys, `mock-json-server` requires explicit path and HTTP method definitions within its configuration JSON. It provides basic CRUD-like capabilities by returning predefined data for specific routes and methods, and supports programmatic control (start, reload, stop) in addition to a command-line interface. Its primary differentiators are its minimal setup and explicit configuration, making it suitable for simple mocking scenarios where fine-grained control over static responses per route and method is desired.

total hits 16
actors 7 distinct systems
last hit 4d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · 🇩🇪 Germany · 🇫🇷 France