返回排行榜

mockoon/mockoon

TypeScriptmockoon.com

Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

mockserverrest-apirestapplicationelectrondesktopapiprototypingswaggeropenapiopenapi3
Star 增长趋势
Star
8.3k
Forks
461
周增长
Issues
44
5k
2017年8月2020年7月2023年7月2026年7月
制品库npmnpm install mockoon
README



Mockoon: awesome API mocking

Mockoon is the easiest and quickest way to design and run mock APIs. No remote deployment, no account required, free and open-source.

It combines a desktop application to design and run mock servers locally, and a CLI to self-host your fake APIs. A cloud is also available to collaborate with your team, keep your data in sync, and deploy your mock APIs.

API mocking helps you speed up development and third-party API integration by reducing dependency on external services and their limitations: rate limits, costs, availability, etc. It also allows you to test your applications in a controlled environment with predictable responses, status codes, and latencies, and easily simulate edge cases and error scenarios. Finally, you can onboard new team members faster by providing them with a consistent and reliable environment to test and develop their applications.

➡️ Download

Features

Mockoon offers many features:

  • Unlimited number of mock local servers and routes
  • CLI to run your mock in headless environments, CI, etc.
  • Complete control on routes definition: HTTP methods and statuses, regex paths, file serving, custom headers, etc.
  • OpenAPI compatibility
  • Record/logs of all entering and forwarded requests
  • JSON templating
  • Proxy forwarding mode
  • HTTPS support

You can check the complete list on the website.

Download the desktop application

You can get Mockoon desktop's latest release directly from this repository or on the official website. Mockoon desktop is also available through:

MacOS:

  • Homebrew: brew install --cask mockoon.

Windows:

Linux:

Install the CLI

Mockoon CLI is available as an NPM package. Please check our dedicated documentation to learn how to install and use it.

Use in cloud functions and serverless environments

Mockoon's Serverless NPM package provides an easy way to run Mockoon's mock APIs in cloud functions and serverless environments: AWS Lambda, GCP Functions, Firebase Functions, etc.

Please check our dedicated documentation to learn how to use it.

Support us!

Mockoon is proudly independent and open-source, maintained without external funding. We rely on both sponsorships and Mockoon Cloud subscriptions to keep improving the project and building new features. A big thank you to the companies below for supporting our work and helping us grow (and all the sponsors who helped this project over time!):

Platinum

GitHub logo         Localazy logo

SerpApi logo

Gold

Silver

If you'd like to support Mockoon as well, you can become a sponsor or subscribe to Mockoon Cloud, every contribution helps keep the project alive and evolving. Thank you!

sponsor button

Subscribe to Mockoon Cloud

With advanced features for solo developers and teams, Mockoon Cloud supercharges your API development:

Upgrade today and take your API development to the next level.

cloud button

Mockoon's documentation

You will find Mockoon's documentation on the official website. It covers Mockoon's most complex features. Feel free to contribute or ask for new topics to be covered.

Changelogs

You will find Mockoon applications changelogs on the official website.

Support/feedback

You can discuss all things related to Mockoon and ask for help on the official community. It's also a good place to discuss bugs and feature requests before opening an issue on this repository.

Contributing

If you are interested in contributing to Mockoon, please take a look at the contributing guidelines.

Please also take a look at our Code of Conduct.

Roadmap

If you want to know what will be coming in the next release you can check the global Roadmap or subscribe to our newsletter.

相关仓库
PanJiaChen/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

VueMIT Licensevueadmin
90.2k30.4k
typicode/json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

JavaScriptnpmMIT Licenseapifake
75.7k7.3k
keploy/keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

GoGo ModulesApache License 2.0testingtest-automation
keploy.io
18.3k2.3k
mswjs/msw

Industry standard API mocking for JavaScript.

TypeScriptnpmMIT Licensemswmock
mswjs.io
18.1k614
mockito/mockito

Most popular Mocking framework for unit tests written in Java

JavaMavenMIT Licensemockitojava
mockito.org
15.4k2.7k
nock/nock

HTTP server mocking and expectations library for Node.js

JavaScriptnpmMIT Licensehttpmock
13.1k759
mockery/mockery

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

PHPPackagistBSD 3-Clause "New" or "Revised" Licensemockeryphpunit
docs.mockery.io/en/stable/
10.7k466
zuiidea/antd-admin

AI-friendly enterprise front-end best practices

TypeScriptnpmMIT Licenseantdreact
antd-admin.zuiidea.top
9.8k2.5k
easy-mock/easy-mock

A persistent service that generates mock data quickly and provids visualization view.

JavaScriptnpmGNU General Public License v3.0mockeasy-mock
easy-mock.com
9k1.3k
vektra/mockery

A mock code autogenerator for Go

GoGo ModulesBSD 3-Clause "New" or "Revised" Licensegomock
vektra.github.io/mockery/
7.2k455
DATA-DOG/go-sqlmock

Sql mock driver for golang to test database interactions

GoGo ModulesOthersql-drivergo
6.6k413
orval-labs/orval

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺

TypeScriptnpmMIT Licenseorvalaxios-client
orval.dev
6.3k648