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
miragejs avatar

miragejs/miragejs

0
View on GitHub↗
5,527 stars·174 forks·JavaScript·MIT·32 viewsmiragejs.com↗

Miragejs

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 and errors.

The system incorporates a request-intercepting middleware and dynamic route matching to redirect outgoing calls to programmable mock handlers. It further supports development through an in-memory data store for simulating server-side persistence and schema-based data seeding to generate mock datasets.

Features

  • API Mocking - Simulates backend API responses to facilitate frontend development and testing without requiring a live server.
  • In-Memory Data Stores - Maintains a local JavaScript object database to simulate server-side persistence and state across API calls.
  • Frontend API Mocking - Provides tools and middleware for simulating backend API responses and endpoints during frontend development.
  • API Response Simulators - Intercepts and stubs API responses in the browser to test various data scenarios and error states.
  • HTTP Mock Servers - Provides a browser-based mock server that simulates HTTP server behavior to validate client requests.
  • API Mocking Servers - Simulates backend responses via a client-side server to decouple frontend and backend development.
  • Client-Side API Simulations - Provides a simulation layer that generates fake HTTP responses entirely within the browser to decouple frontend from backend.
  • Request Interception Middleware - Intercepts outgoing HTTP requests using service workers or XMLHttpRequest overrides to redirect them to internal handlers.
  • Client-Side Integration Testing - Enables verification that frontend components interact correctly with network requests without relying on a live remote server.
  • Custom Mock Response Overrides - Allows the definition of custom JavaScript functions to process requests and return tailored responses based on input.
  • Template-Based Data Factories - Generates large sets of realistic mock data using predefined templates and factories before the application starts.
  • Frontend Prototyping Tools - Facilitates the building of user interfaces and testing of application logic before the actual backend API is available.
  • Dynamic Route Handlers - Implements dynamic route matching to redirect incoming requests to specific programmable mock handlers.
  • HTTP Clients - Client-side service mocking for testing.
  • Testing Frameworks - Client-side mock server for testing.

Star history

Star history chart for miragejs/miragejsStar history chart for miragejs/miragejs

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. 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

Projects sharing features with Miragejs

These projects share indexed features with Miragejs. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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
  • requestly/requestlyrequestly avatar

    requestly/requestly

    6,341View on GitHub↗
    TypeScriptapiapi-clientapi-mock
    View on GitHub↗6,341
  • 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
  • karatelabs/karatekaratelabs avatar

    karatelabs/karate

    8,882View on GitHub↗

    Karate is a Gherkin API testing framework and JVM test orchestrator designed for API validation, workflow automation, and browser automation. It provides a unified environment for executing scriptable logic on the Java Virtual Machine with thread-safe concurrent processing. The project includes a built-in HTTP mock server to simulate backend API behavior by delivering dynamic responses to intercepted requests. It also features a visual regression testing tool that detects interface changes by comparing screenshots against baseline images using pixel-matching analysis. The system supports API

    Java
    View on GitHub↗8,882
Compare all 30 related projects→

Frequently asked questions

What does miragejs/miragejs do?

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.

What are the main features of miragejs/miragejs?

The main features of miragejs/miragejs are: API Mocking, In-Memory Data Stores, Frontend API Mocking, API Response Simulators, HTTP Mock Servers, API Mocking Servers, Client-Side API Simulations, Request Interception Middleware.

Which projects share features with miragejs/miragejs?

Projects with overlapping indexed features include: mockoon/mockoon — Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server… requestly/requestly. nuysoft/mock — Mock is a JavaScript API mocking tool and network request interceptor designed to decouple front-end development from… karatelabs/karate — Karate is a Gherkin API testing framework and JVM test orchestrator designed for API validation, workflow automation,… mswjs/msw — MSW is a JavaScript API mocking library and integration testing tool designed to intercept network requests at the… intuit/karate — Karate is an end-to-end testing framework and API test automation tool used to validate REST and SOAP APIs, drive…