没有合适的资源?快使用搜索试试~ 我知道了~
pop-api:popcorn-api的基本模块
共173个文件
html:58个
js:50个
json:28个
需积分: 9 0 下载量 2 浏览量
2021-02-03
13:32:29
上传
评论
收藏 880KB ZIP 举报
温馨提示
流行音乐 产品特点 pop-api项目旨在为项目提供核心模块,但也可以通过使用中间件将其用于其他目的。 Cli中间件,用于使用读取用户输入。 通过连接到MongoDB的数据库中间件。 使用记录路线和其他信息。 在下面使用 : 带有人体中间件 错误处理 带安全中间件 路线登记接口。 数据访问层(DAL)类,用于标准CRUD操作。 路由控制器处理您内容的路由。 安装 $ npm install --save pop-api 文献资料 用法 对于基本设置,您必须创建一个将处理路线的控制器。 您的控制器需要从IController接口扩展以实现registerRoutes方法,该方法将在安装过程中调用。 下面的路由控制器将使用一个以对象为参数的构造函数创建。 本示例将注册一个GET /hello路由,并发送一个JSON对象作为响应,并带有对该对象从构造函数提供的名称的问候。 // ./MyRouteController.js import { IController } from 'pop-api' // Extend your route controller from
资源推荐
资源详情
资源评论
收起资源包目录
pop-api:popcorn-api的基本模块 (173个子文件)
.babelrc 873B
style.css 9KB
manual.css 2KB
prettify-tomorrow.css 2KB
search.css 1KB
github.css 1KB
test.css 984B
source.css 950B
identifiers.css 634B
.editorconfig 224B
.flowconfig 352B
.gitignore 690B
BaseContentController.js~BaseContentController.html 83KB
test.html 67KB
ContentService.js~ContentService.html 63KB
Logger.js~Logger.html 61KB
index.html 61KB
IContentController.js~IContentController.html 57KB
Routes.js~Routes.html 48KB
Database.js~Database.html 38KB
PopApi.js~PopApi.html 32KB
Cli.js~Cli.html 32KB
HttpServer.js~HttpServer.html 30KB
identifiers.html 27KB
advanced.html 24KB
middleware.html 23KB
extending-middleware.html 23KB
CHANGELOG.html 22KB
CONTRIBUTING.html 22KB
index.html 21KB
ApiError.js~ApiError.html 20KB
source.html 19KB
CODE_OF_CONDUCT.html 18KB
BaseContentController.spec.js.html 17KB
usage.html 17KB
Logger.js.html 16KB
BaseContentController.js.html 15KB
Routes.js.html 14KB
Logger.spec.js.html 14KB
Database.spec.js.html 14KB
ContentService.js.html 14KB
IController.js~IController.html 13KB
Routes.spec.js.html 13KB
IContentController.js.html 13KB
index.html 13KB
ContentService.spec.js.html 13KB
HttpServer.spec.js.html 12KB
Database.js.html 12KB
PopApi.js.html 11KB
Cli.js.html 11KB
Cli.spec.js.html 11KB
HttpServer.js.html 11KB
PopApi.spec.js.html 10KB
IContentController.spec.js.html 10KB
index.html 10KB
utils.spec.js.html 9KB
ApiError.js.html 9KB
utils.js.html 9KB
padStart.spec.js.html 9KB
padStart.js.html 8KB
ApiError.spec.js.html 8KB
IController.spec.js.html 8KB
statusCodes.js.html 8KB
IController.js.html 8KB
statusCodes.spec.js.html 8KB
index.js.html 8KB
index.js.html 8KB
index.js.html 8KB
index.js.html 8KB
index.js.html 8KB
search_index.js 72KB
prettify.js 15KB
BaseContentController.spec.js 9KB
Logger.js 9KB
BaseContentController.js 8KB
Routes.js 7KB
ContentService.js 6KB
Logger.spec.js 6KB
Database.spec.js 6KB
IContentController.js 5KB
Routes.spec.js 5KB
ContentService.spec.js 5KB
HttpServer.spec.js 4KB
Database.js 4KB
PopApi.js 4KB
Cli.js 4KB
search.js 3KB
HttpServer.js 3KB
Cli.spec.js 3KB
ExampleController.js 3KB
PopApi.spec.js 3KB
IContentController.spec.js 2KB
test-summary.js 2KB
ApiError.js 2KB
utils.spec.js 1KB
ExampleModel.js 1KB
exampleSetup.js 1KB
utils.js 1KB
padStart.spec.js 1KB
inner-link.js 997B
共 173 条
- 1
- 2
资源评论
苏咔咔
- 粉丝: 26
- 资源: 4706
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- chromedriver-mac-arm64.zip
- 蓝zapro.apk
- chromedriver-linux64.zip
- UCAS研一深度学习实验-MNIST手写数字识别python源码+详细注释(高分项目)
- 基于Python和PyTorch框架完成的一个手写数字识别实验源码(带MINIST手写数字数据集)+详细注释(高分项目)
- 基于Matlab在MNIST数据集上利用CNN完成手写体数字识别任务,并实现单层CNN反向传播算法+源代码+文档说明(高分项目)
- NVIDIA驱动、CUDA和Pytorch及其依赖
- 基于SVM多特征融合的微表情识别python源码+项目说明+详细注释(高分课程设计)
- html动态爱心代码一(附源码)
- c40539bc-071a-486c-9d52-9d0c18d62dac 4.html
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功