1 Server side javascript ! sounds wow right.
2 We should parse the URL and get the request and based on the request we should respond.Following codes will handle it.
3 Node.js is nothing but javascript executing at the server.