Nishant Srivastava
Nishant is a Software Engineer/Founding Team Member (at) OmniLabs, Inc. with 4+ years of experience in Android SDK Engineering and DSP(Audio). He is the Lead Organizer (at) Google Developer Group, New Delhi.
http://nodejs.org/dist/v0.10.5/node-v0.10.5.pkg
sudo apt-get update && sudo apt-get install curl build-essential openssl libssl-dev git python
$ npm install <packagename>
i.e $ npm install express
{ "name": "hello-node", "description": "hello world", "version": "0.0.1", "dependencies": { "express": "3.x" } }
$ npm install
$ node install express -g
Generating a Basic App
$ express myapp
$ cd myapp && npm install
$ node myapp
var http = require("http");
http.createServer(function(req, res){ res.writeHead(200, {"Content-Type": "text/plain"}); return res.end("Hello Node Developer!\n"); }).listen(8080);
console.log("Server running at port 8080");
By Nishant Srivastava
Basic intro of node.js
Nishant is a Software Engineer/Founding Team Member (at) OmniLabs, Inc. with 4+ years of experience in Android SDK Engineering and DSP(Audio). He is the Lead Organizer (at) Google Developer Group, New Delhi.