vivex-generator
v1.1.5
Published
Express' application generator adapted for use at Vives graduaat programmeren
Maintainers
Readme
Express' application generator used for VIVES graduaat programmeren.
Vives Express Generator
Package from Express-generator
- Express generator updated dependencies for express with hbs views.
- Removed all var-keywords and used double quotes instead of single quotes over the entire application.
Installation
You can also run the application generator with the npx command (available since Node.js 8.2.0).
$ npx vivex-generatorQuick Start
The quickest way to get started with express is to utilize vivex-generator to generate an application as shown below:
Create the app:
$ npx vivex-generator --view=hbs --git /tmp/fooGo into project directory & open with vscode
cd /tmp/foo
code .Install dependencies:
$ npm installStart your Express.js app at http://localhost:3000/:
$ npm startNodemon is also installed and configured. Server will automatically restart on changes with:
$ npm run devCommand Line Options
This generator can also be further configured with the following command line flags.
--version output the version number
-e, --ejs add ejs engine support
--pug add pug engine support
--hbs add handlebars engine support
-H, --hogan add hogan.js engine support
-v, --view <engine> add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
--no-view use static html instead of view engine
-c, --css <engine> add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
--git add .gitignore
-f, --force force on non-empty directory
-h, --help output usage information
