nativeInstallerruby

Create a project using Express

Express is a high-performance Web development framework for Node.js inspired by Sinatra.

  • Installing it is as simple as executing the commands below:

    $ sudo npm -g install express
    $ sudo npm -g install express-generator
    
  • Create a skeleton project by executing these commands. This will produce a new application in the projects/sample-application directory:

    $ mkdir -p projects
    $ cd projects
    $ express sample-application
    
  • Install dependencies using npm:

    $ cd sample-application
    $ npm install
    

This will download and install the required dependencies into a node_modules directory under your project folder.