mok
mokker
npm i mokker
mok

mokker

The mock does not mock you. The video: https://www.youtube.com/watch?v=gGLNJpC-Ov0

by Andrei Fidelman

0.3.3 (see all)License:MITTypeScript:Not Found
npm i mokker
Readme

Mokker

npm version

Mokker is a simple express RESTful API mock server, which also provides few methods to make your data emulating easier.

Installation

npm install --save-dev mokker
yarn add --dev mokker

Dependencies

  • body-parser
  • express
  • morgan
  • query-string
  • react-dev-utils

Usage

// server.js
const mokker = require('mokker');

const routes = [{
    method: 'get',
    url: '/api',
    json: { is: 'done' }
}];

mokker.start({ routes });
// done 😍

$ node server.js

Docs

License

This project is licensed under MIT License. See the license file for more details.

Downloads/wk

31

GitHub Stars

13

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

6

OPEN ISSUES

2

OPEN PRs

8
VersionTagPublished
0.3.3
latest
3yrs ago
No alternatives found
No tutorials found
Add a tutorial