HomeAuthorsContact

overview on nodejs

By Bikash Dash
Published in NodeJS
May 13, 2021
1 min read

To create our first page in NodeJS we have to create index.js file .then put this code bellow

var http = require('http');

http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/html'});
  res.end('Hello World!');
}).listen(8080);

next we have to run this file in CMD by using node index.js then open this on our web browser . on localhost:8080/

to check our web request


Bikash Dash

Bikash Dash

Full Stack Developer

Full Stack Developer at Defraudit.pvt.ltd

Expertise

nodejs
react

Social Media

instagramtwitterwebsite

Related Posts

NodeJS
what is NodeJs url module
May 15, 2021
1 min
© 2021, All Rights Reserved.

Quick Links

Advertise with usAbout UsContact Us

Social Media