文件名称:testing-hapi:符合Hapi样式指南的样板(已更新至v17!)
文件大小:32KB
文件格式:ZIP
更新时间:2024-02-26 00:52:52
testing boilerplate eslint travis-ci hapi
测试哈皮 具有测试,CI和Swagger文档生成器的示例Hapi支持的API Server。 截至2018年1月16日,已使用最新的hapi软件包进行更新和测试。 怎么跑 需要Node v8.12.0 + yarn install # install dependencies yarn start # start server yarn test # run tests 细节 值得注意的npms , hapi是一个流行的Web /服务Node.js框架。 开箱即用的路由和验证非常严格,并且具有成熟的插件/扩展系统。 我已经使用express很长时间了,但是自尝试hapi以来,
【文件预览】:
testing-hapi-master
----.eslintrc.json(69B)
----yarn.lock(55KB)
----lib()
--------schemas.js(451B)
----app.js(1KB)
----.travis.yml(40B)
----test()
--------functional()
--------unit()
----README.md(4KB)
----handlers()
--------products.js(1KB)
----.gitignore(567B)
----.eslintignore(15B)
----routes()
--------products.js(2KB)
----package.json(1KB)