2.0.0-beta.1 • Published 6 years ago

steamer-koa v2.0.0-beta.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

steamer-koa

koa2 高效快速启动脚手架

NPM Version Deps

快速启动

// 安装 steamerjs,已经内置 steamer-plugin-kit
npm i -g steamerjs
// 下载脚手架到全局
steamer kit --add https://github.com/steamerjs/steamer-koa.git
// 基于脚手架初始化项目
steamer kit
  • 直接从github clone 下来

常用命令

// 安装依赖
npm i

// 开发
npm start
// 打开链接
127.0.0.1:3001

// 代码规范扫描
npm lint

// 部署代码
npm run dist

安装mongoDB

// 安装mongoDB
网上有不少教程

// 启动mongoDB
mongod

// 操作mongoDB
mongo