This project has not been maintained since 2019 and is outdated. Please look for alternatives.
An Expressjs generator for Yeoman, based on the express command line tool.
npm install -g yo
npm install -g generator-express
yo express
and select Basic. Add --coffee
if you require CoffeeScript.grunt
or gulp
to run the local server at localhost:3000
, the grunt/gulp tasks include live reloading for views, css in public/css and restarting the server for changes to app.js or js in routes/A generator for creating MVC style apps in express. Giving you the choice between the supported databases.
To get going:
npm install -g yo
npm install generator-express
yo express
, select MVC and select your database of choice. Add --coffee
if you require CoffeeScript.config/config.js
grunt
or gulp
to run the local server - defaults to localhost:3000
- port can be changed in config/config.js
. The grunt/gulp tasks include live reloading as before.--coffee
Uses CoffeeScript.
--skip-install
Skips the automatic execution of npm
after
scaffolding has finished.
Tests are written with mocha.
npm install -g mocha
mocha
or npm test
Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue.