JSPM

  • Created
  • Published
  • Downloads 20305
  • Score
    100M100P100Q141893F
  • License Apache-2.0

Mocks server supporting multiple api behaviors

Package Exports

  • @mocks-server/main

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mocks-server/main) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build status Coverage Status Quality Gate

NPM dependencies Renovate Last commit Last release

NPM downloads License

Mocks Server Mocks Server

This package provides a server that simulates multiple API behaviors. It can be added as a dependency of your project, and started simply running an NPM command.

It is simple and easy out-of-the-box, but powerful and very customizable through the usage of plugins and other customization methods.

Documentation

Please refer to the project documentation website:

Why a mocks server?

Controlling the responses of the api will improve the front-end development workflow, avoiding early dependencies with back-end. It also improves the testing and development of error cases or another cases that are commonly hard to reproduce in the real api.

Defining the api responses during the earliest phases of development will improve the communication among team members and align their expectations.

Working with Node.js, it integrates better in front-end projects as any other NPM dependency, and it will be easier for front-end developers to maintain the mocks.

Contributing

Contributors are welcome. Please read the contributing guidelines and code of conduct.