Skip to content

ria-com/node-koajs-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-koajs-skeleton

A simple Koajs v2 Application Skeleton

quick start

Checkout node-koajs-skeleton:

$ git clone https://github.com/ria-com/node-koajs-skeleton

Make your own new project:

$ mv node-koajs-skeleton my_new_project
$ cd my_new_project
$ rm -rf .git

Edit package.json:

$ vi package.json

Edit config/ files:*

$ vi config/default.js

simple test

Make your own spec-file for testing and start test:

$ cd my_new_project
$ npm install
$ npm test

customize your application

Choose your template system

By default, implemented support Ect (by speed reasons)

Consolidate: A list of all support template system

NOTE: you must still install the engines you wish to use, add them to your package.json dependencies.

roadmap

  • Add i18n (internationalization) helper skeleton
  • Add comments to skeleton code
  • Add logger helper skeleton