๐ŸŒ
GitHub
github.com โ€บ mockoon โ€บ mockoon
GitHub - mockoon/mockoon: Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source. ยท GitHub
Homebrew: brew install --cask mockoon.
Starred by 8.1K users
Forked by 453 users
Languages ย  TypeScript 88.1% | HTML 10.1% | JavaScript 1.0% | SCSS 0.7% | Dockerfile 0.1% | Shell 0.0%
๐ŸŒ
Mockoon
mockoon.com โ€บ tutorials โ€บ getting-started
Mockoon - Create your first mock API with Mockoon
At the first launch, you will have a default setup, the demo API, also called an environment in Mockoon.
๐ŸŒ
Mockoon
mockoon.com โ€บ tutorials
Mockoon - Learn with Mockoon's tutorials
Learn how to create partial mocks of existing APIs with Mockoon's proxy mode in three easy steps Read more
๐ŸŒ
GitHub
github.com โ€บ mockoon โ€บ mock-samples
GitHub - mockoon/mock-samples: Start using Mockoon in no time with popular APIs mock samples.
Welcome to Mockoon's mock API samples repository. You will find in the apis folder many mock samples from popular APIs (Open Weather, Giphy, etc.).
Starred by 33 users
Forked by 23 users
Languages ย  TypeScript 100.0% | TypeScript 100.0%
๐ŸŒ
Mockoon
mockoon.com
Mockoon - Create mock APIs in seconds with Mockoon
Mockoon is the easiest and quickest way to run mock REST API servers. No remote deployment, no account required, free, open source and cross-platform.
๐ŸŒ
Mockoon
mockoon.com โ€บ tutorials โ€บ create-full-rest-api-crud-routes
Mockoon - Create full mock REST APIs in seconds using Mockoon's CRUD routes
On the main GET /users route, you can use query parameters to sort, paginate, and filter the list of users. Here are some examples:
๐ŸŒ
Mockoon
mockoon.com โ€บ mock-samples โ€บ category โ€บ all
Mockoon - API mock samples for your project
Create your mock API server in no time with Mockoon's ready to use mock samples for you favorite APIs: 1Password, BitBucket, GitHub and more
๐ŸŒ
Mockoon
mockoon.com โ€บ docs โ€บ latest โ€บ about
Mockoon - Learn about Mockoon's documentation
This documentation covers Mockoon's most used features and options to help you create the best mock APIs.
๐ŸŒ
Mockoon
mockoon.com โ€บ docs โ€บ latest โ€บ templating โ€บ overview
Mockoon - Create dynamic responses with templating
Mockoon implements Handlebars, Faker.js v9.9.0, and a set of custom helpers to create dynamic responses. This templating system is supported in the data buckets, response's body, header, file content, file path and rule. You will find below a global overview of how and where you can use helpers. You can also check the available helpers on specific documentation pages. All the helpers must be used according to Handlebars' syntax, for example: {{helperName param1 param2}}. Some helpers accepting options objects can be used with Handlebars' object params: {{faker 'date.month' abbr=false}}.
Find elsewhere
๐ŸŒ
Mockoon
mockoon.com โ€บ video-tutorials
Mockoon - Learn with Mockoon's video tutorials
Learn how to start working with Mockoon and create mock APIs in no time by making the most out of its features.
๐ŸŒ
Mockoon
mockoon.com โ€บ mock-samples โ€บ atogovau
Mockoon - Mock sample for your project: Business Registries API
All dates use the ISO 8601 format: YYYY-MM-DD For example: 2017-07-01 (the 1st of July 2017) All timestamps use the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ For example: 2017-07-01T11:05:06+10:00 Timezones Some requests allow for specifying timestamps ...
๐ŸŒ
Mockoon
mockoon.com โ€บ docs โ€บ latest โ€บ api-endpoints โ€บ routing
Mockoon - Mockoon routing documentation
When running your mock API using the CLI, you can disable routes using the --disable-routes flag followed by a route UUID or keyword/name or a folder keyword/name: mockoon start -d ./data.json --disable-routes myroute folder2.
๐ŸŒ
Mockoon
mockoon.com โ€บ tutorials โ€บ responses-and-rules
Mockoon - Create multiple route responses with rules
You can now test your setup by calling your mock API with and without an Authorization header. You should see the 401 response when the header is missing and the 200 response when it is present. Here are two examples using curl:
๐ŸŒ
Mockoon
mockoon.com โ€บ tutorials โ€บ self-host-mock-api-server-cli
Mockoon - Self-host your mock APIs with Mockoon CLI
It is useful when you want to run a mock server while running integration tests on another application. For example, you could mock an API when running a React front-end application test.
๐ŸŒ
Mockoon
mockoon.com โ€บ mock-samples โ€บ clevercom
Mockoon - Mock sample for your project: Data API
Integrate with "Data API" from clever.com in no time with Mockoon's ready to use mock sample
๐ŸŒ
Mockoon
mockoon.com โ€บ docs โ€บ latest โ€บ requests โ€บ query-parameters
Mockoon - Query parameters usage and parsing
As Mockoon is based on JavaScript, the body will be converted into a JSON object internally, which you can manipulate as you would any JSON object using dot notation or array notation. Example URL with query parameters: Copy ยท http://localhost:3000/route?param1=test&param2=test2&array[]=value1&array[]=value2&obj[prop1]=value // alternative array syntaxes array[0]=value1&array[1]=value2 array=value1,value2 ยท
๐ŸŒ
Mockoon
mockoon.com โ€บ tutorials โ€บ create-global-rules-routes
Mockoon - Create global rules for your routes
For example, you may want to check that all your requests contain an Authorization header or that they all contain a specific property in their body. In mockoon, you can easily create routes that will apply rules to all your endpoints and server ...
๐ŸŒ
Mockoon
mockoon.com โ€บ articles โ€บ what-is-api-mocking
Mockoon - Mockoon's guide to API mocking
The way the tool serves the responses ... or edge cases. For example, you may want to test errors (403, 404, etc.), or serve different responses depending on the presence of headers or request's body....
๐ŸŒ
Mockoon
mockoon.com โ€บ mock-samples โ€บ envoicein
Mockoon - Mock sample for your project: API v1.0.0
Integrate with "API v1.0.0" from envoice.in in no time with Mockoon's ready to use mock sample
๐ŸŒ
Mockoon
mockoon.com โ€บ docs โ€บ latest โ€บ templating โ€บ mockoon-helpers
Mockoon - Create dynamic responses with templating helpers
In addition to Handlebars' built-in helpers (if, each, etc., for more information, please have a look at Handlebars' documentation), Mockoon offers the following helpers: Repeat the block content a random number of times if two arguments are provided, or a fixed amount of time if only one argument is provided. Set the comma parameter to false (default to true) to prevent the insertion of new lines and commas by the helper. Examples ยท