generator-pure-koa2
v1.0.7
Published
Koa2 generator for Yeoman (without babel)
Downloads
12
Maintainers
Readme
generator-pure-koa2
Koa2 generator for Yeoman (without babel)
Install
$ npm install -g generator-pure-koa2
generator-pure-koa2
is a yeoman generator, so you need to have global yo
installed.
$ npm install -g yo
Usage
$ mkdir your-app-name
$ cd your-app-name
$ yo pure-koa2
Since babel is removed, make sure your nodejs version > 7.0.
Run npm start
to start the server, and head over to http://localhost:3000
Basic Feature
- Log Service: tracer
- Params Validation: Joi
- Template Engine: swig
- General Security: helmet
- Data Request: request-promise
- Router: lark-router
- Simple and flexible multi-environment configuration
for more information see this repo
License
MIT