# Node.js开发WEB框架

Node.js有一系列支持WEB开发的框架，在[13 Node.js Frameworks to Build Web APIs](https://nordicapis.com/13-node-js-frameworks-to-build-web-apis/)中介绍了很多框架，然而，太多的选择反而不能确定如何选择。评论中指出大多数框架近几年都不在更新，也许可以选择的是活跃开发的选项：

* <https://strapi.io/>
* <https://www.fastify.io/>
* <https://adonisjs.com/>
* <https://github.com/feathersjs/feathers>

入门开发可以选择Express作为开发框架，主要原因社区成熟，开发历史长，有大量的文档，并且[Node与Express开发](https://www.amazon.cn/dp/B01531790Y)可以帮助快速入门。

进一步学习可以采用[koa](http://koajs.com/)，这是[Express 原班人马基于 ES6 新特性重新开发的框架](https://juejin.im/entry/58a11f61128fe1005823a257)，并且[阿里开源的企业级Node.js框架EggJS也是基于Koa的再次开发](https://www.zhihu.com/question/50526101)。

如果要再进一步。。。学习[koa](https://github.com/koajs/koa)源代码吧


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/develop/nodejs/startup/node.js_frameworks_build_web_api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
