/generator-koa

A Koa generator for Yeoman.

Primary LanguageJavaScriptMIT LicenseMIT

generator-koa Build Status

A Koa generator for Yeoman.

.
├── controllers
│   └── messages.js
├── public
|   ├── scripts
|   └── styles
|       └── main.css    
├── test
|   └── routeSpec.js
├── views
|   ├── layout.html
|   └── list.html
├── .editorconfig
├── .jshintrc
├── app.js
└── package.json

Install

Install with npm.

$ npm install -g yo
$ npm install -g generator-koa

Make a new directory and cd into it:

$ mkdir new-project && cd $_

Finally, initiate the generator:

$ yo koa

Start

Requires NodeJS >= v0.11.3

$ npm start

Test

$ npm test

See Koa Examples

License

MIT License @ Peter Vilja