当前位置:网站首页>Powerful open source API interface visual management platform Yapi
Powerful open source API interface visual management platform Yapi
2022-06-28 22:44:00 【Code classmate software test】
picture
YApi It's efficient 、 Easy to use 、 Powerful api Management platform , Designed to develop 、 product 、 Testers provide more elegant interface management services . Can help developers easily create 、 Release 、 maintain API,YApi It also provides excellent interaction experience for users , Developers only need to use the interface data writing tool and simple click operation provided by the platform to realize the interface management . This article will lead you to build YApi Interface platform
1
nodejs install and configure
visit node Chinese net https://nodejs.org/zh-cn/ Download long term support , After downloading, go to the next step to install
2
mongdb install and configure
visit http://navo.top/f2YVJz Download the installation file


The next step along the way
3
install yapi
stay cmd The window executes the following command
npm install -g yapi-cli --registry
https://registry.npm.taobao.org
After the installation is completed yapi Visual installation services ——yapi server
Open browser access http://localhost:9090

Click open to start deployment , After success, there is the following interface , Please remember your username and password

4
start-up yapi platform
stay cmd window , Enter your own yapi Installation directory , The installation directory in this article is D:\my-yapi
Carry out orders node vendors/server/app.js Access in browser after startup http://localhost:3000

5
yapi Cross domain plug-in installation
Visit the link http://navo.top/muYr6f download yapi Cross domain plug-in and install to chrome browser
6
Project creation
Log in items , Click new project , Then add the interface manually

After adding successfully, edit and run successively , Interface debugging can be completed


But it is too slow to add interfaces one by one , We can use fiddler Grab the bag , Export to har file , Then directly import yapi Quickly add interfaces by platform
7
Import har file
open Fiddler Grab the whole stack of code items token Case study

Export captured requests as har file 

And then click next , Save as pinter.har
stay yapi Click in the platform 【 Data management 】, Select the data import method as HAR, Click upload pinter.har, Then click OK

Once again into the yapi platform 【 Interface list 】, The two interfaces can be imported smoothly
Get into 【 Test set 】, Import the interface to be tested 

After importing, click start test 
Is it very convenient , Quickly build your own interface management platform , Unlock more features !
边栏推荐
- 共探数字技术与信息安全,第四届中俄数字论坛成功举办
- What does project management really manage?
- Career consultation | in the data analysis interview, it is only reliable to introduce yourself in this way
- 带链接跳转的微信红包封面制作教程和使用指南
- 00 後雲原生工程師:用 Zadig 為思創科技(廣州公交)研發開源節流
- torch. nn. Transformer import failed
- Mono 的执行流程
- Qsrand, srand random number generating function in qt5.15 has been discarded
- 什么是低代码开发?
- Linux Installation mysql5.7 (centos7.6) tutorial
猜你喜欢

Axure custom components

Interpretation of papers (DCN) towards k-means-friendly spaces: simultaneous deep learning and clustering
Sample code of using redis to realize the like function

WMS仓库管理系统模块之波次拣货

5毛VS600亿,食品安全问题是卫龙上市最大的拦路虎?

Business atlas in super factory

2022-06-28: what does the following golang code output? A:true; B:false; C:panic; D: Compilation failed. package main import “fmt“ func main() {

科技巨头成立元宇宙标准论坛,走向开放还是建立围城?

IC Nansha|AMD高级副总裁、大中华区总裁潘晓明:制程、架构、平台优化突破计算边界

What is low code development?
随机推荐
Summary of time series prediction series (code usage)
How to analyze the trend chart of London gold market with the moving average
Zadig + sonarqube, ensuring the safety of the development process
爱数SMART 2022峰会开启,分享数据战略与建设数据驱动型组织方法论
Use of axurer9 option group
基于graph-linked embedding的多组学单细胞数据整合与调控推理
Yiming Anke submitted a statement to the Hong Kong Stock Exchange: the loss doubled in 2021, and the past financing amount was exaggerated
flowable 边界定时器
利用Redis实现点赞功能的示例代码
hiredis的代码示例
After crossing, she said that the multiverse really exists
Redis+aop+ user defined annotation to realize flow restriction
【kotlin】好看的弹出框、自定义弹出框(对话框)、扩展函数、菊花等待条、消息提示框
There is no picture problem when using tcpdf to generate pdf
windows mysql5.7 开启binlog日志
题解 洛谷P1762 偶数/6.21校内考试T2
C#/VB.NET 将PDF转为Excel
leetCode-栈类型详解
5毛VS600亿,食品安全问题是卫龙上市最大的拦路虎?
Career consultation | in the data analysis interview, it is only reliable to introduce yourself in this way