/shawn-blog-koa

shawn-blog-koa

Primary LanguageJavaScript

Shawn blog Koa

Build Status Coverage Status Dependency Status devDependency Status

js-standard-style ###Tech Stack

  • koa 2.0
  • mongoose(mongodb)
  • bluebird(Promise/A+实现)
  • co (Generator + yield)
  • mocha(测试)
  • lodash
  • gulp (自动构建)

Preparation

node.js 4.0+
mognodb 3.0+
redis 2.8+

Getting Start

git clone https://github.com/xiaoyang4011/shawn-blog-koa
npm install
gulp server

other

gulp standard // 语法检查
gulp test // 测试

directory

├── bin
├── gulp (gulp file)
├── node_modules
├── server
   ├── api (api file)
      ├── article
      ├── users
      ├── wechat
   ├── config (config file)
      ├── env
      ├── index.js
   ├── sys (system file)
      ├── init.js
      ├── koa.js
   ├── lib
   ├── model (mongoose model)
   ├── util (util)
   ├── app.js (start app)
   └── routes.js
├── test
├── test_coverage
├── index.js
├── gulpfile.js
├── package.json
└── README.md

License

MIT