A best practice for yintai micro service api project.
First, install Yeoman and generator-yintai-api using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-yintai-apiBecause we haven't publish this generator to the npmjs.org repository, so please
npm install -g https://github.com/yintai/generator-yintai-api.gitor clone and install locally currently.
git clone git@github.com:yintai/generator-yintai-api.git
cd generator-yintai-api/
npm install
npm linkThat will install your project dependencies and symlink a global module to your local file.
Then generate your new project:
yo yintai-apiYeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.
Apache-2.0 © mengqiang