UNPKG

simple-koa2-cli

Version:
22 lines (13 loc) 511 B
# koa2 project A simple koa2 project, integrate koa2, koa-router, koa-body, @koa/cors, mysql. Include 4 parts: routes, controllers, models, config ### Installation Prerequisites: [Node.js](https://nodejs.org/en/) (>=6.x, 8.x preferred), npm version 3+ and [Git](https://git-scm.com/). ### Usage ``` bash $ npm install $ node app.js ``` The above command create a server which port is 9000, and you can test a demo api: http://localhost:9000/company ### License [ISC](http://opensource.org/licenses/ISC)