Your First Web Application Using Node.js

Опубликовано: 15 Февраль 2026
на канале: Alvin IT Solutions (AITS)
46
10

Hi friends ! welcome in M-Tech computer Academy. Today in this session we will learn to create first web application using node.js
here in this lecture we have imported require modules



Node.js First Example
There can be console-based and web-based node.js applications.

Node.js console-based Example
File: console_example1.js

console.log('Hello JavaTpoint');
Open Node.js command prompt and run the following code:


node console_example1.js
Node.js console example 1
Here, console.log() function displays message on console.


A node.js web application contains the following three parts:

Import required modules: The "require" directive is used to load a Node.js module.


Create server: You have to establish a server which will listen to client's request similar to Apache HTTP Server.



Read request and return response: Server created in the second step will read HTTP request made by client which can be a browser or console and return the response.


Python parsing html with BeautifulSoup
   • Python parsing html with  beautifulsoup  

Getting started with web scraping using pythn    • Getting Stsrted with web Scraping  using  ...  

How to install jupyter notebook on widnow 10
   • How to install Jupyter Notebook on window  

Pyhon Tutorial in hindi    • What is python and its festures  

Facebook page   / mtechcomputeracademy  

Instagram   / mtechcomputeracademy  

Twiter   / mtech_academy