Sibeesh Passion

Top Menu

  • Home
  • Search
  • About
  • Privacy Policy

Main Menu

  • Articles
    • Azure
    • .NET
    • IoT
    • JavaScript
    • Career Advice
    • Interview
    • Angular
    • Node JS
    • JQuery
    • Knockout JS
    • Jasmine Framework
    • SQL
    • MongoDB
    • MySQL
    • WordPress
  • Contributions
    • Medium
    • GitHub
    • Stack Overflow
    • Unsplash
    • ASP.NET Forum
    • C# Corner
    • Code Project
    • DZone
    • MSDN
  • Social Media
    • LinkedIn
    • Facebook
    • Instagram
    • Twitter
  • YouTube
    • Sibeesh Venu
    • Sibeesh Passion
  • Awards
  • Home
  • Search
  • About
  • Privacy Policy

logo

Sibeesh Passion

  • Articles
    • Azure
    • .NET
    • IoT
    • JavaScript
    • Career Advice
    • Interview
    • Angular
    • Node JS
    • JQuery
    • Knockout JS
    • Jasmine Framework
    • SQL
    • MongoDB
    • MySQL
    • WordPress
  • Contributions
    • Medium
    • GitHub
    • Stack Overflow
    • Unsplash
    • ASP.NET Forum
    • C# Corner
    • Code Project
    • DZone
    • MSDN
  • Social Media
    • LinkedIn
    • Facebook
    • Instagram
    • Twitter
  • YouTube
    • Sibeesh Venu
    • Sibeesh Passion
  • Awards
You may like:

Linux Azure Function Isolated Dot Net 9 YAML Template Deployment

Node JS
Home›Node JS›Introduction to Node JS

Introduction to Node JS

By SibeeshVenu
June 19, 2015
1944
0
Share:

In this post we will learn about the basics of Node JS. This article explain the process of installing node js in your system and the basic thing you need to do to configure. You can also get an idea of testing the node js by using some piece of code. Some of you might have already tried this. This article is for the one who have never tried Node JS. I hope you will like it.

Background

Today one of my colleague asked me “what is Node JS?”. I could manage with the definition. But it might have not helped him much. So I thought of creating an article and send him the link for his reference. Hereby I am dedicating this article to him.

What is Node JS?

  • Node JS is a run time environment for server side and networking application.
  • It is an open source
  • It supports cross platforms
  • Node JS applications are written in pure javascript
  • It can be run within Node.js environment on WIndows, Linux, IBm etc…
  • To start with

    To start with Node JS, you need to go to https://nodejs.org/ and click on install.

    Figure 1: Download

    Now a .msi file will be downloading in your system. Please run that once the downloading is over.

    Figure 2: Installation

    Figure 3: Installation Continue

    Now I hope you have installed Node JS, So what is next? We need to test our node platform right?

    Testing Node JS

    To check whether our Node JS is working fine, We can create a “Hello World” program in two ways.

  • Directly type message in command window.
  • Type the message in a js file and execute it in node
  • Directly type message in command window

    Open your command window( Press Window key + R ), type cmd in the window. Now a window will be opened, you can type your commands over there.

    Once you pointed out to your drive as shown in the image, type “node” and press enter. Now you can type anything in your console using console.log. Then You will get the output as shown in the above image.

    Now you may be thinking why it returns an undefined error!. Am I right?

    It is because of, normally Node JS will displays return value of each commands. As you all know console.log does not return anything. So it is displaying ‘undefined’.

    Type the message in a js file and execute it in node

    Create a js file manually ( To do so, open a notepad, type some content and save it with .js extension. That is all. )

    I typed the content as “console.log(‘Sibeesh passion welcomes you to the world of Node’);”

    Now you can execute that JS file as follows.

    Conclusion

    I hope you will like this article. Please share me your valuable thoughts and comments. Your feedback is always welcomed.

    Thanks in advance. Happy coding!

    Kindest Regards
    Sibeesh Venu

    TagsNode JSNode JS Introduction
    Previous Article

    Get jqwidget jqx grid column count

    Next Article

    Why Windows 10 is not available for ...

    0
    Shares
    • 0
    • +
    • 0
    • 0
    • 0

    SibeeshVenu

    I am Sibeesh Venu, an engineer by profession and writer by passion. Microsoft MVP, Author, Speaker, Content Creator, Youtuber, Programmer.

    Related articles More from author

    • Socket.io Output
      CodeProjectMongoDBNode JS

      Creating a Chat Application in Node JS with Express, MongoDB, Mongoose and Socket.io

      December 4, 2017
      By SibeeshVenu
    • MongoDB Data Insertion
      MongoDBNode JS

      Using MongoDB on Node JS Application Using Mongoose

      December 3, 2017
      By SibeeshVenu
    • new_node_js_web_application
      Node JS

      Upload Files Or Images To Server Using Node JS

      December 10, 2016
      By SibeeshVenu
    • node_js_tool_for_visual_studio
      Node JSSQL

      SQL Server CRUD Actions Using Node JS

      November 27, 2016
      By SibeeshVenu
    0

    My book

    Asp Net Core and Azure with Raspberry Pi Sibeesh Venu

    YouTube

    MICROSOFT MVP (2016-2022)

    profile for Sibeesh Venu - Microsoft MVP

    Recent Posts

    • Linux Azure Function Isolated Dot Net 9 YAML Template Deployment
    • Build, Deploy, Configure CI &CD Your Static Website in 5 mins
    • Easily move data from one COSMOS DB to another
    • .NET 8 New and Efficient Way to Check IP is in Given IP Range
    • Async Client IP safelist for Dot NET
    • Post Messages to Microsoft Teams Using Python
    • Get Azure Blob Storage Blob Metadata Using PowerShell
    • Deploy .net 6 App to Azure from Azure DevOps using Pipelines
    • Integrate Azure App Insights in 1 Minute to .Net6 Application
    • Azure DevOps Service Connection with Multiple Azure Resource Group

    Tags

    Achievements (35) Angular (14) Angular 5 (7) Angular JS (15) article (10) Article Of The Day (13) Asp.Net (14) Azure (65) Azure DevOps (10) Azure Function (10) Azure IoT (7) C# (17) c-sharp corner (13) Career Advice (11) chart (11) CSharp (7) CSS (7) CSS3 (6) HighChart (10) How To (9) HTML5 (10) HTML5 Chart (11) Interview (6) IoT (11) Javascript (10) JQuery (82) jquery functions (9) JQWidgets (15) JQX Grid (17) Json (7) Microsoft (8) MVC (20) MVP (9) MXChip (7) News (18) Office 365 (7) Products (10) SQL (20) SQL Server (15) Visual Studio (10) Visual Studio 2017 (7) VS2017 (7) Web API (12) Windows 10 (7) Wordpress (9)
    • .NET
    • Achievements
    • ADO.NET
    • Android
    • Angular
    • Arduino
    • Article Of The Day
    • ASP.NET
    • Asp.Net Core
    • Automobile
    • Awards
    • Azure
    • Azure CDN
    • azure devops
    • Blockchain
    • Blog
    • Browser
    • C-Sharp Corner
    • C#
    • Career Advice
    • Code Snippets
    • CodeProject
    • Cognitive Services
    • Cosmos DB
    • CSS
    • CSS3
    • Data Factory
    • Database
    • Docker
    • Drawings
    • Drill Down Chart
    • English
    • Excel Programming
    • Exporting
    • Facebook
    • Fun
    • Gadgets
    • GitHub
    • GoPro
    • High Map
    • HighChart
    • How to
    • HTML
    • HTML5
    • Ignite UI
    • IIS
    • Interview
    • IoT
    • JavaScript
    • JQuery
    • jQuery UI
    • JQWidgets
    • JQX Grid
    • Json
    • Knockout JS
    • Linux
    • Machine Learning
    • Malayalam
    • Malayalam Poems
    • MDX Query
    • Microsoft
    • Microsoft ADOMD
    • Microsoft MVP
    • Microsoft Office
    • Microsoft Technologies
    • Microsoft Windows
    • Microsoft Windows Server
    • Mobile
    • MongoDB
    • Monthly Winners
    • MVC
    • MVC Grid
    • MySQL
    • News
    • Node JS
    • npm
    • Number Conversions
    • October 2015
    • Office 365
    • Office Development
    • One Plus
    • Outlook
    • Page
    • PHP
    • Poems
    • PowerShell
    • Products
    • Q&A
    • Raspberry PI
    • React
    • SEO
    • SharePoint
    • Skype
    • Social Media
    • Software
    • Spire.Doc
    • Spire.PDF
    • Spire.XLS
    • SQL
    • SQL Server
    • SSAS
    • SSMS
    • Storage In HTML5
    • Stories
    • Third Party Software Apps
    • Tips
    • Tools
    • Translator Text
    • Uncategorized
    • Unit Testing
    • UWP
    • VB.Net
    • Videos
    • Virtual Machine
    • Visual Studio
    • Visual Studio 2017
    • Wamp Server
    • Web API
    • Web Platform Installer
    • Webinars
    • WebMatrix
    • Windows 10
    • Windows 7
    • Windows 8.1
    • Wordpress
    • Writing

    ABOUT ME

    I am Sibeesh Venu, an engineer by profession and writer by passion. Microsoft MVP, Author, Speaker, Content Creator, Youtuber, Programmer. If you would like to know more about me, you can read my story here.

    Contact Me

    • info@sibeeshpassion.com

    Pages

    • About
    • Search
    • Privacy Policy
    • About
    • Search
    • Privacy Policy
    © Copyright Sibeesh Passion 2014-2025. All Rights Reserved.
    Go to mobile version