Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geekplux/koa2-boilerplate

[Deprecated] Minimal koa v2 boilerplate. 🤣
https://github.com/geekplux/koa2-boilerplate

boilerplate koa node nodejs

Last synced: about 7 hours ago
JSON representation

[Deprecated] Minimal koa v2 boilerplate. 🤣

Awesome Lists containing this project

README

        

# koa2-boilerplate [Deprecated]

⚠️ **This project is created 3 years ago in order to try koa2. now it's outdated.**

> A minimal boilerplate of [koa v2](https://github.com/koajs/koa/issues/533).

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]

## Installation

Both ways you can start:

fork this repo & git clone the repo
npm install koa2-boilerplate

## Command

#### Setup

npm install

#### Develop

npm start

#### Test

npm test

## Dependencies

- Watcher and hot-reload: [nodemon](http://nodemon.io/)
- Test:
+ [mocha](https://mochajs.org/)
+ [should](https://github.com/shouldjs/should.js)
+ [supertest](https://github.com/visionmedia/supertest)
- Build: [babel](http://babeljs.io/)
+ tools: babel-register
+ presets: babel-preset-es2015-node5
+ plugins: transform-async-to-generator, syntax-async-functions
- *Lint*:
You can choose the lint tool that you prefer.

## Reference

- [koajs/koa#533](https://github.com/koajs/koa/issues/533)
- [koajs/koa#596](https://github.com/koajs/koa/issues/596)

## License

MIT © [GeekPlux](https://github.com/geekplux)

[npm-image]: https://img.shields.io/npm/v/koa2-boilerplate.svg
[npm-url]: https://npmjs.org/package/koa2-boilerplate
[downloads-image]: https://img.shields.io/npm/dm/koa2-boilerplate.svg
[downloads-url]: https://npmjs.org/package/koa2-boilerplate