npm.io
1.1.1 • Published 4 years ago

mock-server-lo

Licence
MIT
Version
1.1.1
Deps
3
Size
11 kB
Vulns
0
Weekly
0

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.