Home  >  Q&A  >  body text

在node.js领域中哪一个框架用来架构API比较好

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

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

伊谢尔伦伊谢尔伦2763 days ago622

reply all(5)I'll reply

  • 黄舟

    黄舟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.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 11:53:28

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

    reply
    0
  • PHPz

    PHPz2017-04-17 11:53:28

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

    reply
    0
  • 迷茫

    迷茫2017-04-17 11:53:28

    ThinkJS has been used.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 11:53:28

    Always using koahubjs

    reply
    0
  • Cancelreply