Skip to main content

Posts

Showing posts from March, 2018

Creating A Simple Application Using Node js.

In my last blog, I gave a gist of information about Node js. In this blog, I'll be explaining you about creating a simple application using Node js. To check which version of Node installed on your machine, go to cmd terminal, and run $ node --version And to check the version of npm, run $ npm --version I am now using node: v6.9.5 and npm: v5.6.0 in my system. Before proceeding there is something you need to know. i.e., Modules So let me ask you " What are modules? " Modules are set of functions/methods, which is very much useful for any application to build. Normally Node js itself has its own built-in modules, which you can directly use in your application without installing them. Normally you can use modules in three different ways, 1. Using Node js built-in modules. 2. Writing your own modules and then use. 3. Installing external modules using npm and then use. I'll list some of the commonly used built-in modules of Node js version 6.10.3, whic...