generator-yhkoa
v1.0.0
Published
koa2 + mogondb server
Downloads
1
Readme
generator-yhkoa
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
A Restful API Server based on Koajs
Dependencies
Installation
First, install Yeoman and generator-yhkoa using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-yhkoa
Then generate your new project:
yo yhkoa [appName]
Commands
Initialize App
mkdir helloWorld
cd helloWorld
yo yhkoa [appName]
Install Dependencies
yarn install
or
npm install
Add API
yo yhkoa:api [apiName] [endpoint=/xxx/xxx] [--socket] [--image]
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.