Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前后端分离下的工作方式 #84

Open
peng-yin opened this issue Jul 20, 2022 · 0 comments
Open

前后端分离下的工作方式 #84

peng-yin opened this issue Jul 20, 2022 · 0 comments

Comments

@peng-yin
Copy link
Owner

peng-yin commented Jul 20, 2022

背景

前后端分离

  • 前后端仅仅通过异步接口(AJAX/JSONP)来编程
  • 前后端都各自有自己的开发流程,构建工具,测试集合
  • 关注点分离,前后端变得相对独立并松耦合

截图

开发流程

  • 后台编写和维护接口文档,在 API 变化时更新接口文档
  • 后台根据接口文档进行接口开发
  • 前端根据接口文档部署Mock Server *
  • 前端使用MockSever进行开发
  • 开发完成后联调和提交测试

截图 (1)

⚠️注:
yapi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant