mockkit

A mockup server to eliminate those hassle of preprare the backend server for front-end programmer

npm install mockkit
16 downloads in the last month

MockKit - Eliminate the backend hassle

alt text

Install MockKit

sudo npm install mockkit -g

Use MockKit

Prepare a routes.json in the working directory.

And write the routes like below:

{
    #Label  | Route Rule  | Mock File
      "index" : ["/\/$/", "./small_test.html"],
      "dude" : ["/great_dude/hello", "./x.json"]
}

And fire up

mockkit use routes.json

And visit the 127.0.0.1:1234, that's all.

IMPORTANT

Currently not support multiple directory static file detection.

LICENSE

MIT

npm loves you