在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:posquit0/koa-rest-api-boilerplate开源软件地址:https://github.com/posquit0/koa-rest-api-boilerplate开源编程语言:JavaScript 93.4%开源软件介绍:Boilerplate for Node.js Koa RESTful API application with Docker, Swagger, Jest, CodeCov, and Circle CI Koa REST API Boilerplate is a highly opinionated boilerplate template for building RESTful API application with Koa. This boilerplate include the following features:
Getting Started$ git clone https://github.com/posquit0/koa-rest-api-boilerplate your-project-name
$ cd your-project-name
$ rm -rf .git && git init $ yarn
$ yarn start CommandsRun# Run normally
$ yarn start
# Run the application with nodemon for development
$ yarn dev Test# Test
$ yarn test # Run all test
$ yarn test:unit # Run only unit test
$ yarn test:integration # Run only integration test
# Test (Watch Mode for development)
$ yarn test:watch # Run all test with watch mode
$ yarn test:watch:unit # Run only unit test with watch mode
$ yarn test:watch:integration # Run only integration test with watch mode
# Test Coverage
$ yarn test:coverage # Calculate the coverage of all test
$ yarn test:coverage:unit # Calculate the coverage of unit test
$ yarn test:coverage:integration # Calculate the coverage of integration test
# Test consistent coding style (Lint)
$ yarn lint # Lint all sourcecode
$ yarn lint:app # Lint app sourcecode
$ yarn lint:test # Lint test sourcecode Archive$ yarn pack TestAll test for this boilerplate uses following tools. ContributingThis project follows the Contributor Covenant Code of Conduct. Bug Reports & Feature RequestsPlease use the issue tracker to report any bugs or ask feature requests. Self PromotionLike this project? Please give it a ★ on GitHub! It helps this project a lot. And if you're feeling especially charitable, follow posquit0 on GitHub. See Also
LicenseProvided under the terms of the MIT License. Copyright © 2017-2019, Byungjin Park. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论