Mirage JS logo

Mirage JS

Mirage JS is an open source API mocking library for JavaScript that lets you build, test, and share complete frontend features without depending on a backend. It runs alongside your frontend code as in-browser middleware, providing a built-in database, factories for seeding data, route handlers, and serializers. It is framework-agnostic and works with React, Vue, Angular, Ember, and any modern test runner. Mirage JS is itself a library (not a hosted REST API), so this entry indexes its documentation and project resources.

1 APIs 0 Features
API MockingTestingJavaScriptOpen Source

APIs

Mirage JS

Mirage JS is a JavaScript library for mocking APIs. It enables frontend developers to build complete features, write realistic tests, and share working prototypes without a real...

Resources

🔗
Website
Website
👥
GitHub
GitHub
🔗
Discord
Discord
🔗
Twitter
Twitter

Sources

apis.yml Raw ↑
aid: mirage-js
name: Mirage JS
description: >-
  Mirage JS is an open source API mocking library for JavaScript that lets you build,
  test, and share complete frontend features without depending on a backend. It runs
  alongside your frontend code as in-browser middleware, providing a built-in database,
  factories for seeding data, route handlers, and serializers. It is framework-agnostic
  and works with React, Vue, Angular, Ember, and any modern test runner. Mirage JS
  is itself a library (not a hosted REST API), so this entry indexes its documentation
  and project resources.
type: Index
position: Consumer
access: 3rd-Party
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
tags:
  - API Mocking
  - Testing
  - JavaScript
  - Open Source
created: '2025-01-08'
modified: '2026-04-28'
url: >-
  https://raw.githubusercontent.com/api-evangelist/mirage-js/refs/heads/main/apis.yml
specificationVersion: '0.19'
apis:
  - aid: mirage-js:mirage-js
    name: Mirage JS
    description: >-
      Mirage JS is a JavaScript library for mocking APIs. It enables frontend developers
      to build complete features, write realistic tests, and share working prototypes
      without a real backend. Mirage runs in the browser as middleware, includes a
      built-in database and factories, and supports any major JavaScript framework.
    humanURL: https://miragejs.com/
    tags:
      - API Mocking
      - Testing
      - JavaScript
    properties:
      - type: Documentation
        url: https://miragejs.com/docs/getting-started/introduction/
      - type: GettingStarted
        url: https://miragejs.com/quickstarts/
      - type: Tutorial
        url: https://miragejs.com/tutorial/intro/
      - type: APIReferenceDocumentation
        url: https://miragejs.com/api/classes/server/
      - type: GitHub
        url: https://github.com/miragejs/miragejs
      - type: REPL
        url: https://miragejs.com/repl/
common:
  - type: Website
    url: https://miragejs.com/
  - type: GitHub
    url: https://github.com/miragejs/miragejs
  - type: Discord
    url: https://discord.gg/pPsdsrn
  - type: Twitter
    url: https://twitter.com/miragejs
maintainers:
  - FN: Kin Lane
    email: [email protected]