Using Express


Express is a web application framework for node. The Express framework itself uses Connect for some of it’s functionality, a middleware framework for node.

It’s website is


You can install Express with NPM (node package manager) using the following command:

This will install express into the current directory under the standard node packages folder.

Basic Web Server

The following code shows how to make a basic web server with Express. Notice how it is different from the basic web sever using plain node.

To run this, save the code as a .js file, and instruct node to run this file from the command line by typing node filename.js.

Posted: October 11th, 2013 at 2:56 pm
Last Updated on: October 11th, 2013 at 3:11 pm

Leave a Reply