【文件属性】:
文件名称:location-service
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-05 05:34:10
JavaScript
定位服务API
先决条件
通过首选方法安装最新版本的 。
设置
在项目目录中,启动:
npm install
您需要一次或在依赖项更改时执行此操作。
启动服务
在开发模式下
npm run serve
在生产模式下:
npm start
测试
Jshint检查和测试:
npm test
【文件预览】:
location-service-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(1KB)
----test()
--------setup.js(415B)
--------app()
----README.md(427B)
----.gitignore(714B)
----app()
--------HealthcheckAPI.js(705B)
--------LocationAPI.js(599B)
--------VersionAPI.js(641B)
--------LocationFinder.js(917B)
--------Service.js(1KB)
----package.json(1KB)