YApi Visual Interface Management Platform Interface

YApi Visual Interface Management Platform

Sample site:

yapi.demo.qunar.com

Documents:

hellosean1025.github.io/yapi

Platform Introduction

Head portrait

YApi is efficient , easy to use , powerful of api management platform designed for the development of products, testers provide a more elegant interface management services. Can help developers easily create, publish, maintain API, YApi also provides users with excellent interactive experience, developers can simply use the interface data platform provides tools and write a single click you can manage interface .

QQ exchange group : 644 642 474

characteristic

  • Based Json5 and Mockjs return data structure defines the interface and documentation efficiencies times
  • Flat design rights, which is to ensure the management of large-scale enterprise projects, but also to ensure ease of use
  • Similar postman debugging interface
  • Automated testing, support
  • In addition to supporting common MockServer stochastic simulation, but also increased the Mock desired function, according to filtering rules set by the request, return the expected data
  • Support postman, har, swagger data import
  • Free and open source, network deployment, no longer afraid of leaked information

Network deployment

Environmental requirements

  • The NodeJS (7.6+)
  • In MongoDB (2.6+)
  • Bastard

installation

Use yapi-cli tools we provide, deploy YApi platform is very easy. Start visual execution yapi server deployment program, enter the appropriate configuration and click Start deployment, will be able to complete the deployment of the entire site. Once deployed, the / /server/app.js} {path boot server site according to the message, the node is executed. Open the browser specified url, click Login to enter the administrator mailbox that you just set the default password is ymfe.org log into the system (the default password can be modified at the individual centers).

npm install -g yapi-cli --registry https://registry.npm.taobao.org
yapi server 

upgrade

Upgrade project version is very easy and does not affect the existing project data will only be synchronized supply source file in the directory.

cd  {项目目录}
yapi ls //查看版本号列表
yapi update //更新到最新版本
yapi update -v {Version} //更新到指定版本

Course

Guess you like

Origin www.cnblogs.com/zzl0916/p/11314838.html