node-mock-server

by smollweide

smollweide / node-mock-server

File based Node REST API mock server

217 Stars 65 Forks Last release: 6 months ago (0.25.4) MIT License 459 Commits 46 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

node-mock-server

File based Node REST API mock server

Build status npm npm Codestyle

node-mock-server-ui.png

Getting Started

This application requires Node

6
or higher. For Node
<6
please use
[email protected]
For Node
<4
please use
[email protected]
1. Install npm package:
$ npm install node-mock-server --save-dev
2. Start init process:
$ node node_modules/node-mock-server/init

Options

node-mock-server options

Usage examples

node-mock-server usage examples

Features

CLI

$ node  --help

Usage $ node [--version] [--help] []

Options $ start mock server $ --version print node-mock-server version $ --help print help $ swagger-import run a swagger import $ validate run a validation for all mock data $ collections print all available collections $ collection activate collection

Examples $ node demo/index.js --version $ node demo/index.js collections

Demo

git clone https://github.com/smollweide/node-mock-server.git
cd node-mock-server
npm install
node demo

License

MIT License

Changelog

Please see the Releases

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.