Simple Example Nodejs & Express js Hello World

Categories
Nodejs Development Website Development

This article is aimed for beginner developers and anyone interested in getting up and running with Node.js. Before diving into this article, you should be confident enough with JavaScript to know the basic concepts of the language. Technical terms regarding Node will be explained and linked below.

What is node JS and why use it?

Nodejs is a platform built on Chrome’s JavaScript runtime for easily building fast and scalable network applications. Nodejs uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

What is express JS used for?

Expressjs is a Node. js web application server framework, designed for building single-page, multi-page, and hybrid web applications. It is the de facto standard server framework for node

Running Locally

Open nodejs console and run command node index.js If the command is executed successfully than open http://localhost:9000 and see out put !

Happy coding 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *