generator-express-simple

An express generator for Yeoman

npm install generator-express-simple
4 downloads in the last day
34 downloads in the last week
214 downloads in the last month

generator-express-simple Build Status

NPM version

A simple express generator for Yeoman.

Getting Started

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

Overview

The generator comes with jquery and Bootstrap.

Newly added functionality is the ability to choose between express 3.x setup and express 4.x.

Get to know more about express 4.x over here and here.

Express-generator-simple supports these css preprocessors :


and these view engines :

Added support for the Gruntfile in either coffeescript or javascript Currently working on choosing between gulp and grunt as the build tool

Installing

install generator-express-simple by running

npm install -g generator-express-simple

Usage

yo express-simple [appname]

appname - optional

Now your app is ready to be run.

Running

Removed nodemon from the build task because the new version of nodemon eats up a lot of memory. Install version 0.7.10 of nodemon:

npm i -g nodemon@0.7.10

and to start the application run

nodemon -L --watch [folder] --watch [another folder] --debug app.js

For more information on using the version 0.7.10 of nodemon check it out over here

If you are using gulp as your build tool, you will have to start the node inspector tool from another terminal by running

node-inspector --save-live-edit --web-port=[Number] --hidden=[Array]

Then in another terminal run

grunt

or

gulp

to watch and build the application depending on the build tool you chose

Contributing

  1. Fork it
  2. Create your feature branch git checkout -b feature-name
  3. Commit your changes git commit -am "add your feature"
  4. Push to the branch git push origin feature-name
  5. Create pull request

Make sure the tests are passing and send a pull request.

License

MIT License

npm loves you