Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP mock server

A server which parse mockjs template from mongodb database to respond http request.

Installation

  1. Please make sure that you have installed mongodb
  2. Node.js also needs to be installed
  3. Install the project
$ git clone https://github.com/yalishizhude/api-mock.git
  1. install modules
$ npm install

Quick Start

  1. Start your mongodb
  2. Install modules
$ npm install
  1. Start the server
$ npm start

Notice

  • APIs are edited by api-document server.
  • Make sure mongodb is started.

Docs

mockjs (http://mockjs.com/)

mongodb (https://www.mongodb.org/)

express (http://expressjs.com/)

node (https://nodejs.org)

License

MIT

About

HTTP API mock server

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages