An open API service indexing awesome lists of open source software.

https://github.com/tea-node-js/tea-rest-es6-boilerplate

a restful api boilerplate base tea-rest
https://github.com/tea-node-js/tea-rest-es6-boilerplate

api boilerplate koa koa-router restful starter-kit

Last synced: about 1 month ago
JSON representation

a restful api boilerplate base tea-rest

Awesome Lists containing this project

README

          

# tea-rest-es6-boilerplate

tea-rest es6 boilerplate

## Quick start


git clone https://github.com/tea-node-js/tea-rest-es6-boilerplate.git yourApp
cd yourApp
npm run setup

## Feature list

- [x] [eslint airbnb](https://github.com/airbnb/javascript)
- [x] [tea-rest@1.x.x](https://github.com/tea-node-js/tea-rest)
- [x] [tea-rest-with-mysql@1.x.x](https://github.com/tea-node-js/tea-rest-with-mysql)
- [x] [tea-rest-helper-getter@1.x.x](https://github.com/tea-node-js/tea-rest-helper-getter)
- [x] [tea-rest-helper-rest@1.x.x](https://github.com/tea-node-js/tea-rest-helper-rest)
- [x] [tea-rest-helper-assert@1.x.x](https://github.com/tea-node-js/tea-rest-helper-assert)
- [x] [tea-rest-helper-params@1.x.x](https://github.com/tea-node-js/tea-rest-helper-params)
- [x] [tea-cache@1.x.x](https://github.com/tea-node-js/tea-cache)
- [x] [restintegration@1.x.x](https://github.com/tea-node-js/restintegration)
- [x] [Mochajs](https://mochajs.org/)
- [x] [prettier](https://prettier.io/)

## npm run \*

- `lint` Exec eslint validate use airbnb rule
- `_test` Only exec test, without coverage report & eslint
- `test` Run test unit case && api test case then output coverage report
- `apidocs` Make api docs, base on apidocs
- `start` Start rest api with development mode