awesome generator for zhike backend project
$ npm install -g zhike-generator
first, enter to your working directory, then run the following command
$ zhike-generator myapp
or
$ zhike-generator -t express myapp
- express
- koa
- restify
Welcome to add your favourite to the directory of templates
.
2016.12.27:
- express模板删除掉bin目录下的init_db和init_config文件
- bin目录下添加数据库修改的migrate文件,执行数据库修改只需执行npm run migrate即可
- 添加.eslintrc.js, git commit之前会对代码格式进行相应的检查
2017.01.17:
- 添加koa和restify模板