1.1.1 • Published 5 years ago

mockizen v1.1.1

Weekly downloads
81
License
-
Repository
github
Last release
5 years ago

mockizen

A simple and flexible API mock for modern apps. It lives in your project, hence its name.

It supports:

  • Dumb responses (json)
  • Clever responses (js)
  • Stateful responses (soon)
  • Faker and friends

Show me a demo

Running the example is simple!

After cloning this...

$ npm install
$ npm start
$ open http://localhost:8090/users

Using it for real

To add mockizen to your own project:

$ npm install --save-dev mockizen
$ npm install --global npm-add-script
$ touch scenarios.json
$ npmAddScript -k mocks:start -v "mockizen scenarios.json"
$ npm run mocks:start

Example scenarios.json

Check example/scenarios.json for an example.

Future work

  • Stores
  • Live data reload
  • Live scenarios reload
  • Artificial delays & errors
  • Swagger import
  • REST routes generator
  • Front page
1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0-1

7 years ago

0.1.0

7 years ago