Hello Friends, In my quest to learn and keep updating my self. I have written a small Node.js token based demo project for the sample pizza delivery app. The code is written in Core Node.js. I haven’t used any npm modules.
NodeJS
Parsing the Query String, HTTP Method, request Path and payload for NodeJS
Hello Friends, In my previous article I discussed about the NodeJS basics and setting up a simple and easy NodeJS server on local system. But we don’t want to stop at just creating a simple server and keep looking at the console wondering where to go from here. In this article, I will move a bit further and demo how we can get the requested URL, parsing the headers, parsing the HTTP method and parsing the request payload for NodeJS or request body transferred with the server request.
[Read more…] about Parsing the Query String, HTTP Method, request Path and payload for NodeJS
Simple Trick to create a NodeJS Server on Windows/Ubuntu
Hello Friends, In my previous article I walked you through the basics of NodeJS and its introductions. And we have written our first “Hello World” program. But believe me that is not going to help if we want to have a good understanding of the NodeJS. Basically NodeJS is server side language and we need to know how to write code which can interact with the server. In this article I will create my first NodeJS server on Ubuntu and Windows.
[Read more…] about Simple Trick to create a NodeJS Server on Windows/Ubuntu
Writing my first Hello World program in Node JS
Hello Friends, We are hearing a lot about the JavaScript programming on the server side with the help of Node.JS. And I would say that Node.JS is not quite new. I this article I will help you to understand you first hello world program in Node JS. But before going further and writing first Hello World program in NodeJS. Lets have a look at the history of this programming language.
[Read more…] about Writing my first Hello World program in Node JS