【文件属性】:
文件名称:carouselApi:使用 NodeJS 提供轮播服务的 Rest API
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-23 21:07:59
JavaScript
旋转木马API
使用 NodeJS 提供轮播服务的 Rest API
版本:1.0.0
安装
npm install
发展
运行应用服务器并开始开发
npm run serve
环境
localhost:8080
API 指南
端点列表
localhost:8080/apiDocs
方法
小路
有效载荷
描述
GET
/status
——
查看申请状态
GET
/carousels/:department
——
从部门获取轮播列表
POST
/carousel
key :轮播键, name :轮播名称, department :部门键
添加新的轮播
DELETE
/carousel
key :轮播键, department :部门键
从部门中删除轮播
GET
/departments
——
获取部门列表
POST
/department
key :
【文件预览】:
carouselApi-master
----lib()
--------mobiusClient.js(2KB)
--------mongooseClient.js(554B)
----app.js(4KB)
----LICENSE(755B)
----README.md(1KB)
----.gitignore(615B)
----package.json(660B)