First Application
Creating Node.js Application
To create a "Hello, World!" web application using Node.js, you need the following three important components β
Import required modules β We use the require directive to load Node.js modules.
Create server β A server which will listen to client's requests similar to Apache HTTP Server.
Read request and return response β The server created in an earlier step will read the HTTP request made by the client which can be a browser or a console and return the response.