【文件属性】:
文件名称:NodeJS_APICollection_Boilerplate:用于创建 Node.js API 集合的样板
文件大小:13KB
文件格式:ZIP
更新时间:2021-06-01 19:38:31
JavaScript
SC5 APIcollection 样板
API Colleciton 样板是一个可修改的样板,用于使用 javascript 快速开发 API/轻量后端(不包括构建系统,即不支持咖啡脚本):
注册 API 端点
计划任务
使用空格而不是制表符
安装
先决条件
克隆项目并触发安装项目依赖项
> git clone https://github.com/mpuittinen/SC5_APICollection_Boilerplate.git
> npm install
> npm run deps
建造
不适用
调试和发布构建
> npm install --debug # to force development dependencies
> npm start # to trigger bower install, build and t
【文件预览】:
NodeJS_APICollection_Boilerplate-master
----.gitignore(63B)
----Dockerfile(805B)
----templates()
--------soapAPIsample.js(3KB)
--------minimalAPI.js(853B)
----package.json(2KB)
----server()
--------app.js(1KB)
--------services()
--------index.js(503B)
--------config.js(379B)
--------logger.js(662B)
--------services.js(1KB)
----gulpfile.js(4KB)
----README.md(3KB)
----tests()
--------test_sampleAPI.js(1KB)
----protractor.config.js(180B)
----example.env(176B)