4

nodejs 有哪些好用的增删改查框架?

 2 years ago
source link: https://www.v2ex.com/t/818494
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

nodejs 有哪些好用的增删改查框架?

  iqoo · 7 小时 55 分钟前 · 1021 次点击
后端的功能是服务管理,有几十个增删改查的接口,很多接口都有时间、IP 、备注等参数,有些是必须有些是可选。如果每个接口都手动判断参数是否存在、长度是否正确、格式是否合法,写起来很累赘。最后还要数据库执行,很多接口需要分页,手动实现 SQL 也很累赘。

有没有简单易用的 nodejs 框架可实现上述提到的功能,例如参数自动校验,只需事先定义参数格式即可。分页等功能也能自动加上。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK