ubuntu 14.04 LTS
nodejs install
apt-get update
apt-get upgrade
apt-get install nodejs npm nodejs-legacy
mongodb install
apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 7F0CEB10
echo ‘deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen’| sudo tee /etc/apt/source.list.d/mongodb.list
apt-get update
apt-get install mongodb-org
mkdir app-folder
cd app-folder
nano package.json
{
"name": "hello-world",
"description": "hello world test app",
"version": "0.0.1",
"private": true,
"dependencies": {
"express": "3.x"
}
}
and npm install