Fork me on GitHub

express-mvc-bootstrap by cliftonc

Application template for a structured Node.js, Express, Mongoose, EJS & JQuery Application


How to get started ...

Simple tutorial to get up and running with the Express-mvc-bootstrap. Tested on Ubuntu 10.10 and 10.04.


For this to work, you need a few things already setup and good to go:

Installing Node 0.4.2

Ensure that you are logged in as the user you want to run node as (e.g. a good idea to create a www-data or node user if you are on a server and want to keep it separate from other processes.) Instructions copied from (
cd /var/www
tar -zxvf node-v0.4.2.tar.gz
cd node-v-0.4.2
export JOBS=2 # optional, sets number of parallel commands.
mkdir ~/local
./configure --prefix=$HOME/local/node
make install
export PATH=$HOME/local/node/bin:$PATH		
You should now be able to type:
cliftonc@localhost:/var/www/node-v0.4.2$ node --version

Installing NPM

You can install NPM using the following commands:
curl | sh
And then check it via:
npm -version

Installing Everything Else (You may need to run some of these via sudo depending on how your system is configured)

npm install express
npm install mongoose
npm install ejs

Installing Bootstrap

npm install express-mvc-bootstrap

Now you should be done!

Creating an app, model, view, controller ...

cd /var/www
mkdir myApp
cd myApp
eb create-app
eb script create-model Group
eb script create-controller Group
eb script create-view Group
Or the fast way:
eb script generate-all Group


cliftonc (


You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://