Skip to content

Feature Application Scaffolding

Brian Lamb edited this page Apr 22, 2017 · 3 revisions

The expressBuilder application can be used to rapidly scaffold a new web application. This new application if left to default will be a JS / HTML5 app, using bootstrap, and contain a CRUD, collections in a Mongo DB, a JS API document generator, a Jasmine test suite, SASS ready, font-awesome installed, bootstrap glyphicons installed, using jade templates. There is a layout template already built, and 2 full examples accessing models, using controllers, and having working CRUD examples.

It is scaffolded quite simply: git clone this repo, run npm install in your project dir, then run gulp compile-vendors && gulp build. Your build will output to the www/ directory, to which you can host or deploy it how you like.

There is 2 built in servers. One is a standard node express server started like this ./bin/www, the other is a gulp live server, using livereload started like this gulp develop.

This scaffold is extremely scaleable, and is already being shifted to have the option to use SQL or PostgreSQL as well as the default MongoDB.