Skip to content

ronaldruzicka/mokker

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%