1.1.1 • Published 2 years ago

mock-server-lo v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

mock-server

配置

1、config.default.js中 record设置为true,即代表不使用mock中的数据,仅仅转发请求并记录下来。 2、后缀不匹配的接口,仅仅做转发,不做任何记录。

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.