【文件属性】:
文件名称:microservice:微服务框架
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-05 05:35:47
JavaScript
微服务
微服务框架
先决条件
通过首选方法安装最新版本的 。
设置
在项目目录中,启动:
npm install
您需要一次或在依赖项更改时执行此操作。
跑步
启动服务
在开发模式下
npm run serve
在生产模式下:
npm start
测试
Jshint检查蚂蚁测试:
npm test
【文件预览】:
microservice-master
----.jshintrc(371B)
----.jshintignore(13B)
----app.js(114B)
----config()
--------production.json(42B)
--------test.json(42B)
--------development.json(40B)
----swagger-ui()
--------index.html(4KB)
--------swagger.json(795B)
----test()
--------setup.js(415B)
--------app()
----README.md(450B)
----.gitignore(662B)
----app()
--------api()
--------Service.js(1KB)
----package.json(1005B)