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, that's all.


Currently not support multiple directory static file detection.



npm loves you