基于node koa2的一款servers脚手架
$ npm install -g rock-cli
Install dependencies:
$ rock -a <project-name>
or
$ rock --add <project-name>
$ npm i
$ npm start
Start your Koa app at http://localhost:3000/:
-
Mysql installation
-
The new test database
-
Data table automatic generation
$ npm run create_mysql_table
Access to the localhost:3000/users/search