chiglish:
# moapi-cli ![](https://img.shields.io/npm/v/moapi-cli.svg)
Local mock tool, a command starts, safely and quickly
* Front-End:react+mobx+antd
* Back-End: koa2+Data using the local file instead mongodb

----
## Environmental requirements
* Node.js 8.9.0+

## install
```bash
npm i moapi-cli -g
```

## Start the
```bash
moapi
```
![](http://oz70fuveq.bkt.clouddn.com/18-6-12/72333371.jpg)
![](http://oz70fuveq.bkt.clouddn.com/18-6-12/87378507.jpg)

## introduce
* No network deployment condition or teams use is recommended to use this tool;
* Recommend the team to use[moapi online platform](http://moapi.yfyld.top);
* Conditional network deployment of more secure, the deployment method[README](http://moapi.yfyld.top)(Is writing...);

### features
* Support proxy
* Support the generated interface documentation
* Support the markdown document generated
* Support for import and export
* Support to generate the mock server code
* Flexible support edit mock data
* Support mockjs grammar
* Support restc way testing interface

### link
* [moapi online platform](http://moapi.yfyld.top)



中文:

# moapi-cli ![](https://img.shields.io/npm/v/moapi-cli.svg)
本地mock工具,一句命令启动,快速安全
* 前端展示:react+mobx+antd
* 后端数据: 基于koa2+数据使用本地文件代替mongodb

----
## 环境要求
* Node.js 8.9.0+

## 安装
```bash
npm i moapi-cli -g
```

## 启动
```bash
moapi
```


## 介绍
* 没用内网部署条件或团队使用下推荐使用此工具;
* 团队使用推荐[moapi在线平台](http://moapi.yfyld.top);
* 有条件内网部署更安全,部署方法[README](http://moapi.yfyld.top)(正在写...);

### 特性
* 支持接口代理
* 支持生成接口文档
* 支持生成接口markdown文档
* 支持导入导出
* 支持生成mock server代码
* 支持灵活编辑mock数据
* 支持mockjs语法
* 支持restc方式测试接口

### 链接
* [在线mock平台](http://moapi.yfyld.top)
* [mock服务端](https://github.com/yuhonyon/moapi-server)
