All Projects → i5ting → Koa Generator

i5ting / Koa Generator

Licence: mit
Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Koa Generator

koa2-rest-scaffold
Koa2 RESTful API 脚手架。
Stars: ✭ 27 (-97.09%)
Mutual labels:  koa, scaffold, koa2
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
Koa Weixin Jssdk
koa weixin jssdk middleware
Stars: ✭ 7 (-99.25%)
Mutual labels:  koa, koa2
Koa Passport
Passport middleware for Koa
Stars: ✭ 748 (-19.48%)
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
koa-router-version
Semantic Versioning routing for Koa
Stars: ✭ 19 (-97.95%)
Mutual labels:  koa, koa2
Koajs Design Note
《Koa.js 设计模式-学习笔记》已完结 😆
Stars: ✭ 520 (-44.03%)
Mutual labels:  koa, koa2
Koa Helmet
Important security headers for koa
Stars: ✭ 595 (-35.95%)
Mutual labels:  koa, koa2
Koa2 Api Scaffold
一个基于Koa2的轻量级RESTful API Server脚手架。
Stars: ✭ 694 (-25.3%)
Mutual labels:  koa, koa2
Nodeclub Koa
use koa to rewrite nodeclub
Stars: ✭ 18 (-98.06%)
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
Awesome Koa
👯 Awesome Koa.js Web Framework
Stars: ✭ 343 (-63.08%)
Mutual labels:  koa, koa2
Cykspace Node
博客后台服务~~ 👉👉 http://www.cykspace.com
Stars: ✭ 23 (-97.52%)
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
polix
🚀 Node.js Web Framework
Stars: ✭ 32 (-96.56%)
Mutual labels:  koa, koa2
Koa2 Note
《Koa2进阶学习笔记》已完结🎄🎄🎄
Stars: ✭ 4,725 (+408.61%)
Mutual labels:  koa, koa2

koa-generator

http://koajs.com/

Koa application generator.

NPM Version NPM Downloads

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

MIT

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].