Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steamerjs/steamer-koa


https://github.com/steamerjs/steamer-koa

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# steamer-koa

koa2 高效快速启动脚手架

[![NPM Version](https://img.shields.io/npm/v/steamer-koa.svg?style=flat)](https://www.npmjs.com/package/steamer-koa)
[![Deps](https://david-dm.org/steamerjs/steamer-koa.svg)](https://david-dm.org/steamerjs/steamer-koa)

## 快速启动

* 推荐 >> 使用[steamerjs](https://steamerjs.github.io/docs/projectkits/Bootstrap.html)安装

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

* 直接从github clone 下来

## 常用命令

```javascript
// 安装依赖
npm i

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

// 代码规范扫描
npm lint

// 部署代码
npm run dist
```

## 安装mongoDB
```javascript
// 安装mongoDB
网上有不少教程

// 启动mongoDB
mongod

// 操作mongoDB
mongo
```