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-api
Because we haven't publish this generator to the npmjs.org repository, so please
npm install -g https://github.com/yintai/generator-yintai-api.git
or clone and install locally currently.
git clone git@github.com:yintai/generator-yintai-api.git
cd generator-yintai-api/
npm install
npm link
That will install your project dependencies and symlink a global module to your local file.
Then generate your new project:
yo yintai-api
Yeoman 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