generator-yckoa
A Restful API Server based on Koajs
Dependencies
Installation
First, install Yeoman and generator-yckoa using npm (we assume you have pre-installed node.js).
npm install -g yonpm install -g generator-yckoa
Then generate your new project:
yo yckoa [appName]
Commands
Initialize App
mkdir helloWorldcd helloWorldyo yckoa [appName]
Install Dependencies
yarn install
or
npm install
Add API
yo yckoa: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.
License
MIT © Yu Chen