1.0.1 • Published 9 years ago
express-generator-dm v1.0.1
express-generator-dm
Installation
$ npm installRun Application
Using the -n flag, name your project and the program will subsiquently generate the project template layout.
$ exp-gen -n <name>Navigate to the created project:
$ cd <name>Install package dependencies:
$ npm installRun the application locally at:
$ node app.jsNavigate to a browser and type the following link to display the applicaion.
http://localhost:3000/:
Command Line Options
This generator can also be further configured with the following command line flags.
-h, --help output usage information
--version output the version number
-n, --name <name> Project nameInfo
The express-generator generates a blank express project with a rMVC structure. The project uses an ejs view engine and includes the Materialize framework to style the pages. A Procfile and a .env file is also generated to deploy the application to Heroku.