# DXY-F2E/api-mocker

Api Mocker is more of an api management system than a mocker.

Repository: https://github.com/DXY-F2E/api-mocker
Canonical: https://ross.abutalabs.com/products/api-mocker
Language: JavaScript
License: GPL-3.0
License Family: copyleft
Topics: api-mocker, mocker, vue, egg, api-manager, api-management
Last push: 2023-11-10T00:38:43+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3274, "days_push": 1028, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1122, forks 175 (observed 2026-08-28T04:03:40.002455+00:00)

## What it is
API Mocker is a self-hosted API management system built with Vue and Egg.js that lets teams define structured API contracts, auto-generate mock data with request validation, and produce API documentation. It also supports interface testing, permission control, proxying, and email subscription notifications for API changes.

## Use cases
- manage and document rest api contracts for frontend-backend collaboration
- generate mock data from api definitions for frontend development
- validate mock requests against agreed parameter types
- proxy mock requests to avoid cross-origin issues in dev
- get email notifications when api definitions change
- import existing rap api definitions
- test apis directly in a web ui instead of postman

## When to choose
- your team wants a self-hosted rap/yapi-style api contract and mock platform
- you need mock responses that enforce the agreed schema
- you want auto-generated api docs with change notifications

## When to avoid
- you need a modern actively-developed tool with large community support
- you prefer openapi/swagger-based workflows
- you cannot run node.js and mongodb infrastructure

## Facets
- artifact type: application
- maturity: maintenance
- function: api-framework, mock-api, api-documentation, web-framework, http-server
- domain: apis, web-development, developer-tools, backend, frontend
- platform: self-hosted
- tags: api-mocking, api-management, vue, eggjs, mongodb, mockjs, contract-first, email-notifications, chinese, nodejs, web-server, docker

## Member repositories
- DXY-F2E/api-mocker (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.002455+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:40:54.282550+00:00, confidence not recorded.
  - readme: https://github.com/DXY-F2E/api-mocker (fetched 2026-08-28T04:03:40.002455+00:00, sha d1c80611dc2d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
