Node - Web Server

Node - Web Server

About

What is a Web Server? known also as HTTP server in Node.

List

Node Basic Library

With http.createServer

http.createServer(function (req, res) {
       res.writeHead(200, {'Content-Type': 'text/html');
       res.write(htmlPage);
       res.end();
}).listen(port);

Node based Library / Application

Express

Node - Express (Web Framework)

browsersync

Browsersync.io

http-server

with npm

npm install http-server -g
http-server





Discover More
Gulp - Watch and Reload a Node Server

This page shows showcase how to reload a node http server with the watch possibility of gulp Below is an example of gulp.esm.js file that show case how to do it. You can adapt it to your situation....
Node - Express (Web Framework)

Express is a node http server (web server) Install express Javascript Start the server Go to the page and you see ...
React - Server-rendered markup (renderToString / hydrate)

server-rendered markup is the dynamic possibility of server-side rendering (vs static). The steps are: the web server returns a web page where the root component has been rendered as HTML with special...
Web - Server

A web server is a HTTP server that respond to HTTP request, generally returning a web page (HTML) (but it can serve any type of files). The request is handled: by native handlers (module) (if the server...



Share this page:
Follow us:
Task Runner