Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. Fake JSON Server

Fake JSON Server

MITC#0.11.0

A .NET-based fake REST API server for prototyping and CRUD backends, with GraphQL support and no database required.

Visit WebsiteGitHubGitHub
407 stars95 forks0 contributors

What is Fake JSON Server?

Fake JSON Server is a .NET-based fake REST API server that simulates a backend without requiring a database. It uses a single JSON file for data storage and dynamically generates API endpoints for prototyping, testing, or as a starting point for CRUD backends. It also includes experimental GraphQL support and features like authentication, pagination, and WebSocket notifications.

Target Audience

Developers and teams needing a quick, configurable mock backend for frontend prototyping, API testing, or as a reference implementation for building RESTful services in .NET.

Value Proposition

It offers a zero-configuration, dynamic API with comprehensive REST features and GraphQL support, all without a database, making it ideal for rapid development and testing scenarios.

Overview

Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.

Use Cases

Best For

  • Prototyping frontend applications without a real backend
  • Testing API integrations and client-side code
  • Creating mock backends for development and staging environments
  • Learning REST API best practices with a reference implementation
  • Building CRUD backends quickly using the provided template
  • Simulating network conditions with configurable delays and errors

Not Ideal For

  • Production deployments requiring scalable database persistence and high concurrency
  • Applications needing complex server-side business logic or validation beyond basic CRUD operations
  • Projects that rely on relational data features like joins, transactions, or advanced querying beyond JSON filtering
  • Real-time systems requiring robust WebSocket support beyond simple update notifications

Pros & Cons

Pros

Zero-Configuration Setup

Requires no database installation or route definitions; just start the server with a JSON file, and dynamic API endpoints are generated instantly, as highlighted in the README's 'No setup required' principle.

Comprehensive REST Features

Supports full CRUD operations with proper HTTP status codes, plus pagination, filtering, sorting, authentication, and content negotiation, following REST best practices compiled from multiple guides.

Cross-Platform Flexibility

Runs on Windows, Linux, and macOS via .NET CLI, Docker, or self-contained executables, with no prerequisites, making it accessible for diverse development environments.

Built-in Testing Aids

Includes configurable request delays and random error injection in appsettings.json, allowing developers to simulate network conditions and test error handling seamlessly.

Cons

Limited Data Persistence

Relies on a single JSON file for storage, which can become a bottleneck for large datasets, lacks transaction support, and may struggle with concurrent writes, as admitted in the README's performance notes.

Experimental GraphQL Support

GraphQL implementation is marked as experimental and has limitations, such as not supporting updates to child arrays, making it unreliable for production GraphQL needs.

Performance Constraints

With eager data reload enabled by default, every request reads from the JSON file, potentially slowing down performance with frequent updates or large files, though this can be disabled at a cost.

Frequently Asked Questions

Quick Stats

Stars407
Forks95
Contributors0
Open Issues5
Last commit16 days ago
CreatedSince 2017

Tags

#fake-server#fake-data#graphql#rest-api#csharp#fake-api#json-database#mock-server#dotnet#prototyping#aspnet-core#dotnet-core#testing#webapi#dynamic#json

Built With

A
ASP.NET Core
.
.NET 8

Links & Resources

Website

Included in

.NET21.2kCore21.2k
Auto-fetched 9 hours ago

Related Projects

ShareXShareX

ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.

Stars39,486
Forks3,909
Last commit12 hours ago
Another Redis Desktop ManagerAnother Redis Desktop Manager

🚀🚀🚀A faster, better and more stable Redis desktop manager [GUI client], compatible with Linux, Windows, Mac.

Stars34,735
Forks2,716
Last commit19 days ago
ScoopScoop

A command-line installer for Windows.

Stars24,642
Forks1,536
Last commit10 days ago
mRemoteNGmRemoteNG

mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.

Stars11,085
Forks1,612
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub