Skip to content

jalexy12/generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Logo

Ironhack-flavored Express application generator.

Installation

$ npm install -g iron-generator

Quick Start

The quickest way to get started with express is to utilize the executable irongenerate(1) to generate an application as shown below:

Create the app:

$ irongenerate --view=ejs --database=mongoose --git  awesome-project/
$ cd awesome-project/

Install dependencies:

$ npm install

Start your Express.js app at http://localhost:3000/:

$ npm start

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
-e, --ejs               add ejs engine support
    --hbs               add handlebars engine support
    --pug               add pug engine support
-H, --hogan             add hogan.js engine support
-v, --view <engine>     add view <engine> support (ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
-c, --css <engine>      add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
-d, --database <engine> add <engine> database support (mongoose) (defaults to none)
    --git               add .gitignore
-f, --force             force on non-empty directory

License

MIT

About

Express' application generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.1%
  • HTML 2.9%
  • CSS 1.0%