May 2015
Intermediate to advanced
112 pages
2h 14m
English
Let's start developing our sample application with Node.js, which will read a log file and parse its information using a regular expression. We are going to create all the required code inside a JavaScript file, which we will name as regex.js. Before we start coding, we will perform a simple test. Add the following content inside the regex.js:
console.log('Hello, World!');Next, in the terminal application, execute the regex.js command node from the directory that the file was created in. The Hello, World! message should be displayed as follows:

The hello world application with Node.js is created and it works! We ...
Read now
Unlock full access