下面是我当前已知的一些比较出名的,基于node.js,可以用于架构API的框架:
我之前做了一些research,结合项目的实际情况选择了hapi,这里想看看大家对于不同框架的想法,比如好处、坏处、使用场景等等。
黄舟2017-04-17 11:53:28
Architecting API is different from web development. There is no view layer, so I think it only needs to comply with the principle of URL friendliness. We are currently using express because it has the largest number of users and it is easy to troubleshoot problems.
怪我咯2017-04-17 11:53:28
restity is similar to express but smaller and specially used to write RESTful api