Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

moapi-cli

2.1.3 • Public • Published

chiglish:

moapi-cli

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

npm i moapi-cli -g

Start the

moapi

introduce

  • No network deployment condition or teams use is recommended to use this tool;
  • Recommend the team to usemoapi online platform;
  • Conditional network deployment of more secure, the deployment methodREADME(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-cli

本地mock工具,一句命令启动,快速安全

  • 前端展示:react+mobx+antd
  • 后端数据: 基于koa2+数据使用本地文件代替mongodb

环境要求

  • Node.js 8.9.0+

安装

npm i moapi-cli -g

启动

moapi

介绍

  • 没用内网部署条件或团队使用下推荐使用此工具;
  • 团队使用推荐moapi在线平台;
  • 有条件内网部署更安全,部署方法README(正在写...);

特性

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

链接

install

npm i moapi-cli

Downloadsweekly downloads

25

version

2.1.3

license

none

repository

githubgithub

last publish

collaborators

  • avatar