This project provides a mock server that can store and simulate multiple API behaviors. It can be added as a dependency of your project, and started simply running an NPM command.
It is easy to use both for development and testing because the responses of the mocked API and other configuration options can be changed while the server is running using:
- Interactive command line user interface
- REST API client
- Other integration tools, such as Cypress commands
To check out docs, visit mocks-server.org.
Project | Status | Description |
---|---|---|
main | Main distribution. It includes all plugins preinstalled | |
core | Pluggable core. It can be used programmatically also | |
plugin-proxy | Plugin providing Proxy route handler | |
plugin-inquirer-cli | Plugin providing an administration interactive CLI | |
plugin-admin-api | Plugin providing an administration REST API | |
admin-api-client | API client for plugin-admin-api | |
admin-api-client-data-provider | API client for plugin-admin-api built using data-provider | |
admin-api-paths | Definition of plugin-admin-api routes | |
cypress-commands | Cypress commands to administrate mocks-server |
Contributors are welcome. Please read the contributing guidelines and code of conduct.