1 Star 0 Fork 0

qins / project-resume3

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

个人简历 3.0

二维码 https://qrbtf.com/

部署

现在使用 faas 的部署方式。

前端在放 tx webify 上面,push 到 gitee master 会自动更新。(通过 build

当然也可以部署到 阿里云的 oss 配合自己的 CDN 使用(通过 build:fc

服务端通过 serverless-dev 部署到 fc

具体操作内容已尽写好脚本,在根目录如下操作:

  1. yarn fc 进行 后端打包
  2. s deploy 部署到 fc

model

  • 数据 entity model
  • 响应 res model
  • 请求 req model
  • 界面 state model

model 不可能完全一致,但是能大部分一致。

model 需要差异性,所以设计的时候应该预留差异性空间,这是之前没有考虑到的。

数据 model 为模版

请求 和 响应 只需要在 entity 上 diff 即可。

id 最好是不出现在 inteface 上,而只出现在 真正的 entity 上。因为 add 是没有 id 的,但是 edit 是一定有的。

毕业证号 108701201506000403

错误

错误 (可预见的/不可预见的)

  • 有无 res

  • 有无 data

  • data 是否可解析

  • 是否通用错误处理

data 可以解析的,都应该返回给 res,至于错误应该怎么处理,应该让业务逻辑自己处理。

可以提供可选的统一错误处理方式


框架封装

  • 可以进行原始请求
  • 可以进行基本的封装后请求
  • 封装是可选的组件

设计参考

https://zhuanlan.zhihu.com/p/110458261

具体参考

教育背景 参考:https://www.51miz.com/wendang/wordqiuzhi/169709.html?mizFrom=downloadPic

记录

图片裁切 https://juejin.cn/post/6847009771195744264

免费字体 https://zhuanlan.zhihu.com/p/113187070

沐瑶软笔手写体 https://www.zcool.com.cn/work/ZMjg5MjAwMDQ=.html

防抖 节流 https://juejin.cn/post/7168373598028038157

https://www.gaokao.cn/ 可惜没有 open api

Empty file

About

个人简历 3.o ,Node + Vue ,通过 阿里Cli 部署在 阿里Serverless 上 expand collapse
Vue and 5 more languages
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/qinsJs/resume3.git
git@gitee.com:qinsJs/resume3.git
qinsJs
resume3
project-resume3
master

Search