1.0.0 • Published 4 years ago
generator-yhkoa v1.0.0
generator-yhkoa
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.
1.0.0
4 years ago