在node.js领域中哪一个框架用来架构API比较好
伊谢尔伦
伊谢尔伦 2017-04-17 11:51:28
0
5
650

下面是我当前已知的一些比较出名的,基于node.js,可以用于架构API的框架:

  • express
  • hapi
  • loopback
  • koa
  • sails
  • kraken
  • ……

我之前做了一些research,结合项目的实际情况选择了hapi,这里想看看大家对于不同框架的想法,比如好处、坏处、使用场景等等。

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(5)
黄舟

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.

刘奇

restity is similar to express but smaller and specially used to write RESTful api

PHPzhong

I prefer the express-based framework, which is easier to use. .

迷茫

ThinkJS has been used.

Peter_Zhu

Always using koahubjs

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template