Mock server with learning mode


0490.0.163 years ago4 years agoMinified + gzip package size for @kroonprins/mocker in KB


A mock server with learning mode.

Build Status

See this sample application on how to use, or alternatively this example on how to use it with docker.

Mock server that responds to requests based on rules defined in yaml format. In these rules the response can be made dynamic based on the use of a templating engine. Rules for the server can be created in different ways:

  • use the user interface to create the rules manually
  • use the learning mode to capture real requests to the server that is to be mocked. Based on these captured requests, rules can be created from the user interface
  • edit the yaml files manually

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.