Create a project using Express
Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.
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.