Express' application generator.
$ npm install express-generator-mvc
NOTE : If you have already installed express-generator, this generator maynot work , first uninstall it by
$ npm uninstall -g express-generator
The quickest way to get started with express is to utilize the executable express(1)
to generate an application as shown below:
Create the app:
$ express /tmp/foo && cd /tmp/foo
Install dependencies:
$ npm install
Rock and Roll
$ npm start
This generator can also be further configured with the following command line flags.
-h, --help output usage information
-V, --version output the version number
-e, --ejs add ejs engine support (defaults to jade)
--hbs add handlebars engine support
-H, --hogan add hogan.js engine support
-c, --css <engine> add stylesheet <engine> support (less|stylus|compass) (defaults to plain css)
--git add .gitignore
-f, --force force on non-empty directory