i5ting / Koa Generator
Licence: mit
Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
Stars: ✭ 929
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Koa Generator
Egg
🥚 Born to build better enterprise frameworks and apps with Node.js & Koa
Stars: ✭ 17,616 (+1796.23%)
Mutual labels: koa, koa2
Vue Koa Demo
🔰A simple full stack demo(CSR & SSR & Docker Support) written by Vue2 & Koa2(Koa1 verson also completed)
Stars: ✭ 730 (-21.42%)
Mutual labels: koa, koa2
Koahub
KoaHub.js -- 中文最佳实践Node.js Web快速开发框架。支持Koa.js, Express.js中间件。当前项目已停止维护,推荐使用Doodoo.js
Stars: ✭ 308 (-66.85%)
Mutual labels: koa, koa2
Koa Rest Api Boilerplate
💯 Boilerplate for Node.js Koa RESTful API application with Docker, Swagger, Jest, CodeCov and CircleCI
Stars: ✭ 420 (-54.79%)
Mutual labels: koa, koa2
Hare
🐇 Application boilerplate based on Vue.js 2.x, Koa 2.x, Element-UI and Nuxt.js
Stars: ✭ 258 (-72.23%)
Mutual labels: koa2, scaffold
Node Typescript Koa Rest
REST API boilerplate using NodeJS and KOA2, typescript. Logging and JWT as middlewares. TypeORM with class-validator, SQL CRUD. Docker included. Swagger docs, actions CI and valuable README
Stars: ✭ 739 (-20.45%)
Mutual labels: koa, koa2
koa2-winston
koa2 version winston logger like express-winston
Stars: ✭ 37 (-96.02%)
Mutual labels: koa, koa2
Agile-Server
A simple, fast, complete Node.js server solution, based on KOA. 简单快速的 、性能强劲的、功能齐全的 node 服务器解决方案合集,基于 KOA。
Stars: ✭ 24 (-97.42%)
Mutual labels: koa, koa2
koa-generator
Koa application generator.
Features
- Express-style
- Support koa 1.x(supported)
- Support koa 2.x(koa middleware supported,need Node.js 7.6+ ,babel optional)
Installation
$ npm install -g koa-generator
with 2 commands
- koa (Support koa 1.x)
- koa2 (Support koa 2.x)
Quick Start 1.x
The quickest way to get started with koa is to utilize the executable koa(1)
to generate an application as shown below:
Create the app:
$ koa /tmp/foo && cd /tmp/foo
Install dependencies:
$ npm install
Rock and Roll
$ npm start
Quick Start 2.x
The quickest way to get started with koa is to utilize the executable koa2(1)
to generate an application as shown below:
Create the app:
$ koa2 /tmp/foo && cd /tmp/foo
Install dependencies:
$ npm install
Rock and Roll
$ npm start
more detail see koa2-demo
Command Line Options
This generator can also be further configured with the following command line flags.
-h, --help output usage information
-V, --version output the version number
-e, --ejs add ejs engine support (defaults to jade)
--hbs add handlebars engine support
-n, --nunjucks add nunjucks engine support
-H, --hogan add hogan.js engine support
-c, --css <engine> add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
--git add .gitignore
-f, --force force on non-empty directory
目前选项-c还没有实现
Git Branch Details
- master = koa generator
- tpl = koa 1.x template
- tpl_2.x = koa 2.x template
License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].