1.0.3 • Published 9 years ago
hm-generator v1.0.3
hm Project Generator
Hapi.js and MongoDB Project Generator
npm install -g hm-generator
Create a project using
hm new
What is the app name? your app name
Describe the app: An app that serves a specific function.
It will prompt you for an App Name and an App Description. These will be set in globals.js in the project root directory. The project directory is the same as the App Name with spaces replaced as dashes.
cd your-app-name
// To start your project server and open your browser to http://localhost:3000
hm start
// This can also be done with
hm launch
// and
hm serve
Todo
- Add in generator for models
- Add in generator for controllers
- Add in generator for routes
- Add in generator for scaffold (models, controllers, routes all in one)
- Add tests