Prepare Environment

# npm install -g nodemon
# npm install -g express
# npm install -g express-generator

$ su - developer
$ cd /project/
$ express .
$ npm install
$ nodemon start


--css less|stylus Adds a CSS preprocessor to your project, either Less or Stylus, depending on which you type in the command.

--ejs Changes the HTML template engine from Jade to EJS.
--jshtml Changes the HTML template engine from Jade to JsHtml.
--hogan Changes the HTML template engine from Jade to Hogan.

Modifying Express for MVC

Modifying Express for MVC

Email from Codeforgeek

Hey ,

Do you want to learn Express.js - robust nodejs web application framework ? If not, then you sorry for buzzing you.

But if you do, then here are 5 tutorials that can 100% help you to learn Express.js and at the end, you should be able to write your own application.

Email from Codeforgeek

This tutorial is divided into 5 posts. Each post focuses on one thing which will help you to get the better understanding of the Express.js.

With no further due, here are they:

Part 1: Express installation and project setup.

Part 2: Developing and delivering front-end using Express.

Part 3: Learn what, why and how about Express router.

Part 4: Maintaining Session.

Part 5: Giving it final touch for deployment.

I hope this will help you, if so please let me know in a reply or add comments in the post. Comments and feedback acts as a oxygen for our work and helps us to stay motivated to provide best content for free :)


If you got interested in Session management and wondering to improve it for production, we have that for you as well.

In tutorial listed below, we are using simple session management for study purpose which is not using any session store, that won’t work in production. Here is the tutorial where we are using Redis as session store for further work.

Session management using Node and Redis.