awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
typicode avatar

typicode/json-server

0
View on GitHub↗
75,614 stars·7,268 forks·JavaScript·MIT·17 views

Json Server

json-server is a development toolset used to simulate a full REST API from a JSON file. It functions as a customizable mock API server that allows for the simulation of CRUD operations and resource relationships without the need to write backend code.

The project enables rapid prototyping by generating a fake backend that persists data changes back to a local JSON file. It distinguishes itself by providing a static asset file server to deliver local documents, images, and stylesheets alongside the mock API endpoints.

The server includes capabilities for data querying, such as parameter-based filtering, pagination, and sorting. It also supports resource relationship management through relational data embedding and offers extensibility via a middleware-based request pipeline for custom logic and authentication.

Features

  • Dynamic REST API Generators - Generates a full RESTful API dynamically from a local JSON file to simulate a backend.
  • API Mocking Servers - Functions as a local mocking server that simulates CRUD operations and complex query filtering.
  • JSON-Based Persistence - Persists application data as structured JSON files on the local filesystem.
  • Data Query Filters - Implements field-based criteria and logical operators for narrowing down data sets via API requests.
  • Query Parameter Filters - Transforms URL query parameters into filters, sorts, and pagination logic for data retrieval.
  • Relational Resource Mapping - Allows fetching related data by embedding child resources or expanding parent references in a single request.
  • Data Mocking - Simulates API responses and resource relationships using static JSON data files.
  • Mock State Management - Performs standard CRUD operations on collection arrays and singular object resources via HTTP methods.
  • Relational Data Embedding - Resolves links between different JSON collections by embedding child objects or expanding parent references.
  • Query Filters - Supports range-based constraints, slicing, and sorting to retrieve specific subsets of data.
  • Automatic Endpoint Mapping - Maps URL paths to JSON arrays based on the keys found in the source file to create automatic endpoints.
  • Local Development Servers - Provides a lightweight local server to manage stateful CRUD operations and resource relationships.
  • API Mocking - Provides a tool for simulating API responses to facilitate frontend development without a live backend.
  • Mocking Tools - Generates a full mock REST API directly from a JSON file.
  • Pagination - Splits large data collections into smaller, manageable pages using page and per-page parameters.
  • API Route Customization - Provides configuration options to map custom URL paths to specific JSON resources.
  • Middleware-Based Request Pipelines - Processes incoming HTTP requests through a modular chain of pluggable functions for custom logic.
  • Rapid Prototyping - Enables a rapid prototyping workflow by simulating server responses to iterate on features quickly.
  • Custom Middleware Implementations - Supports custom middleware and request handlers for authentication, validation, and response behaviors.
  • Frontend Integration Testing - Simulates a predictable local data source to test how frontend applications handle various API responses.
  • API Debugging and Mocking - Creates fake REST APIs with zero coding.
  • Developer Tools - Mock REST API generator for rapid prototyping.
  • HTTP Clients - Instant mock REST API from JSON files.
  • Testing and Debugging - Tool for serving REST APIs from static JSON files.
  • Testing Frameworks - Zero-code REST API mock server.
  • 模拟数据( Mock ) - Listed in the “模拟数据( Mock )” section of the Awesome Frontend awesome list.
  • Node.js - Listed in the “Node.js 项目” section of the Great Open Source Project awesome list.

Star history

Star history chart for typicode/json-serverStar history chart for typicode/json-server

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Json Server

Similar open-source projects, ranked by how many features they share with Json Server.
  • mockoon/mockoonmockoon avatar

    mockoon/mockoon

    8,080View on GitHub↗

    Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server responses without a backend. It functions as an OpenAPI mock server tool and a JSON API mocking utility, allowing for the rapid iteration of API contracts and the generation of response templates. The project distinguishes itself through a combination of stateful mocking, using a local JSON database to simulate CRUD operations, and the ability to run as a headless API mock server via a command line interface. It supports real-time collaborative editing and AI-assisted prototyping

    TypeScriptapiapplicationdesktop
    View on GitHub↗8,080
  • easy-mock/easy-mockeasy-mock avatar

    easy-mock/easy-mock

    9,026View on GitHub↗

    Easy Mock is a tool for API mocking and simulation that allows for the creation of fake server responses using schemas. It enables the generation of mock API data and the implementation of OpenAPI specifications to align development with technical contracts. The project supports collaborative API design through a shared workspace where team members can synchronize and manage mock endpoints. It also features specification-driven bootstrapping, which automatically constructs mock environments by importing standard API definition files. The system provides API development proxying to forward re

    JavaScriptdata-generatoreasy-mockjavascript
    View on GitHub↗9,026
  • miragejs/miragejsmiragejs avatar

    miragejs/miragejs

    5,527View on GitHub↗

    Mirage JS is a browser-based mock server and client-side API simulator designed for JavaScript application development. It functions as a mocking tool that intercepts network requests to simulate backend API behavior, allowing developers to build and test frontend interfaces without requiring live backend infrastructure. The tool provides a simulation layer that mimics REST endpoints to facilitate rapid prototyping of user flows and application logic. It enables the creation of fake server responses directly within the web browser to verify how an application handles various data scenarios an

    JavaScript
    View on GitHub↗5,527
  • nuysoft/mocknuysoft avatar

    nuysoft/Mock

    19,607View on GitHub↗

    Mock is a JavaScript API mocking tool and network request interceptor designed to decouple front-end development from back-end progress. It functions as an API simulation tool and mock data generator, allowing developers to build user interfaces and high-fidelity prototypes by mimicking the request and response cycle without a live server. The system provides a mechanism for intercepting outgoing HTTP calls and returning simulated data. It enables front-end prototyping by generating synthetic datasets to validate application behavior during automated testing cycles and development. Capabilit

    JavaScript
    View on GitHub↗19,607
See all 30 alternatives to Json Server→

Frequently asked questions

What does typicode/json-server do?

json-server is a development toolset used to simulate a full REST API from a JSON file. It functions as a customizable mock API server that allows for the simulation of CRUD operations and resource relationships without the need to write backend code.

What are the main features of typicode/json-server?

The main features of typicode/json-server are: Dynamic REST API Generators, API Mocking Servers, JSON-Based Persistence, Data Query Filters, Query Parameter Filters, Relational Resource Mapping, Data Mocking, Mock State Management.

What are some open-source alternatives to typicode/json-server?

Open-source alternatives to typicode/json-server include: mockoon/mockoon — Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server… easy-mock/easy-mock — Easy Mock is a tool for API mocking and simulation that allows for the creation of fake server responses using… miragejs/miragejs — Mirage JS is a browser-based mock server and client-side API simulator designed for JavaScript application… nuysoft/mock — Mock is a JavaScript API mocking tool and network request interceptor designed to decouple front-end development from… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… theorchid/platform — Platform is a framework for building back-office applications and administrative dashboards using Laravel. It…