Zhihu-RESTfulAPI:Node.js Koa框架 仿知乎-RESTfulAPI

时间:2021-05-07 21:54:07
【文件属性】:
文件名称:Zhihu-RESTfulAPI:Node.js Koa框架 仿知乎-RESTfulAPI
文件大小:2.3MB
文件格式:ZIP
更新时间:2021-05-07 21:54:07
JavaScript Node.js仿知乎服务端 REST Representational State Transfer (REST) is a style that defines a set of constraints to be used for creating Representational State Transfer Representational: 数据的表示形式 (json,xml等) State:当前状态或数据 Transfer:数据传输 REST的六个限制 Client-Server Stateless 用户会话信息保存在客户端 Cacheability Uniform Interface Layered System Code on Demand (Optional) 路由中间件 处理不同的url 处理不同的http方法 解析url上的参数 koa:prefix,多中间件 控
【文件预览】:
Zhihu-RESTfulAPI-master
----.gitignore(13B)
----app()
--------controller()
--------models()
--------public()
--------index.js(1KB)
--------config.js(159B)
--------router()
----package.json(594B)
----package-lock.json(113KB)
----README.md(4KB)
----untitled.md(2KB)
----.vscode()
--------launch.json(445B)
----.gitbook()
--------assets()
----SUMMARY.md(106B)

网友评论