Node.js极简&高性能Web框架,详见:一篇文章开发 Node.js-Web-Server
https://qiao-z.vincentqiao.com/#/
- 使用简单,快速上手
- 强大的html模版渲染功能
- 丰富的常用功能插件
- express.js的3-4倍性能
- app
- app.listen
- app.static
- app.get
- app.post
- req
- req.url
- req.headers
- req.cookies
- req.useragent
- req.query
- req.params
- req.body
- req.ip
- res
- res.redirect
- res.send
- res.json
- res.jsonSuccess
- res.jsonFail
- res.setCookie
- res.clearCookie
- res.render
- res.staticRender