yapi: api management system
Pain point: The front-end cannot be tested until the back-end interface has been developed.
The front end only needs: response of the interface
Test set: backend tests all interfaces with one click

1. setup docker-yapi
docker ps -a git clone https://github.com/Rayan-Miao/docker-yapi.git cd docker-yapi/ (has docker-compose.yml) vim docker-compose.yml注意看以下步骤 # 第一次启动使用 command: "yapi server" # 之后使用下面的命令 # command: "node /my-yapi/vendors/server/app.js" docker-compose up docker ps -a (ensure yapi and mongo is up) 浏览器输入虚拟机ip:9090 to setup (*) 完成后modify docker-compose.yml browser: 虚拟机ip:3000
(*)setup info:

username: admin@admin.com
default psw: ymfe.org

浙公网安备 33010602011771号