# easy-mock/easy-mock

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/easy-mock-easy-mock).**

9,026 stars · 1,345 forks · JavaScript · gpl-3.0

## Links

- GitHub: https://github.com/easy-mock/easy-mock
- Homepage: https://easy-mock.com
- awesome-repositories: https://awesome-repositories.com/repository/easy-mock-easy-mock.md

## Topics

`data-generator` `easy-mock` `javascript` `mock` `swagger` `vue`

## Description

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 requests to live backend servers when a mock response is not configured. Additionally, it includes API environment access control to restrict server access based on IP addresses.

## Tags

### Web Development

- [API Mocking Servers](https://awesome-repositories.com/f/web-development/api-mocking-servers.md) — Provides local servers that simulate API responses based on specifications to decouple frontend and backend development.
- [Development Proxies](https://awesome-repositories.com/f/web-development/development-proxies.md) — Routes requests between mock servers and live backends to support incremental feature development.

### Data & Databases

- [Mock Data Generators](https://awesome-repositories.com/f/data-databases/data-governance-modeling/data-modeling-schemas/schema-based-data-models/mock-data-generators.md) — Generates dynamic mock API responses by mapping predefined data types and structures to endpoints.

### Development Tools & Productivity

- [Environment Bootstrapping](https://awesome-repositories.com/f/development-tools-productivity/environment-bootstrapping.md) — Automates the initial setup of mock server configurations by parsing API definition files.
- [API Specification Importers](https://awesome-repositories.com/f/development-tools-productivity/project-imports/external-file-importers/api-specification-importers.md) — Parses and imports standard API definition files to automatically build mock projects. ([source](https://cdn.jsdelivr.net/gh/easy-mock/easy-mock@dev/README.md))
- [Collaborative API Workspaces](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-lifecycle-management/collaborative-api-workspaces.md) — Provides a shared environment for teams to synchronize API collections and mock configurations.
- [Collaborative API Design Tools](https://awesome-repositories.com/f/development-tools-productivity/collaborative-api-design-tools.md) — Enables teams to share and manage mock endpoints to ensure consistent use of data structures.

### Software Engineering & Architecture

- [Mock Environment Generators](https://awesome-repositories.com/f/software-engineering-architecture/openapi-specification-parsers/mock-environment-generators.md) — Automatically generates working mock environments from API definition files to align development with technical contracts.
- [Environment Scaffolding](https://awesome-repositories.com/f/software-engineering-architecture/project-bootstrapping-tools/environment-scaffolding.md) — Automatically constructs mock environments by parsing standard API definition files into server configurations.
- [Team Collaboration Tools](https://awesome-repositories.com/f/software-engineering-architecture/team-collaboration-tools.md) — Facilitates team-based coordination and joint development workflows for managing shared mock API sets. ([source](https://cdn.jsdelivr.net/gh/easy-mock/easy-mock@dev/README.md))

### Testing & Quality Assurance

- [API Mocking](https://awesome-repositories.com/f/testing-quality-assurance/api-network-testing/api-mocking.md) — Simulates API responses using schemas and custom headers to facilitate frontend development without a live backend. ([source](https://cdn.jsdelivr.net/gh/easy-mock/easy-mock@dev/README.md))

### Networking & Communication

- [API Proxies](https://awesome-repositories.com/f/networking-communication/api-proxies.md) — Forwards incoming network calls to live backend servers when mock responses are not configured. ([source](https://cdn.jsdelivr.net/gh/easy-mock/easy-mock@dev/README.md))
- [Request Routing](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management/request-routing.md) — Uses request routing rules to forward network traffic to live backend servers when no mock is defined.

### Part of an Awesome List

- [HTTP Clients](https://awesome-repositories.com/f/awesome-lists/devtools/http-clients.md) — Persistent mock data generation service.
- [Testing Frameworks](https://awesome-repositories.com/f/awesome-lists/devtools/testing-frameworks.md) — Visual mock data service.
