generator-restful-api
Installation
First, install Yeoman and generator-restful-api using npm (we assume you have pre-installed node.js).
npm install -g yonpm install -g generator-restful-api
Then generate your new project:
yo restful-api
structure
|-app.js |-config.js |-readme.md |-.gitignore |-routers/ |-utils/ |-db.js |-middleware.js |-test/ |-util/ |-routers/
Getting To Know Yeoman
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.
License
© karboom