JacobHsu
10/23/2014 - 7:05 AM

#Nodejs - https://github.com/alsotang/node-lessons/tree/master/lesson2

var express = require('express');

var app = express();

app.get('/', function (req, res) {

  var q = req.query.q;
  res.send(q);
});

app.listen(3000, function (req, res) {
  console.log('app is running at port 3000');
});