Image for post
Image for post

What is Node JS Server?

A Node. js server makes your app available to serve HTTP requests. It provides interaction between users and your application. Creating and starting a server is easy with Node.js’s built-in HTTP module.

What is the difference between HTTP and HTTPS?

HTTP is used to launch a server and send requests.

HTTPS is used to launch an SSL server

Let’s get started.

Create a Node JS Project and then create an app.js file

Firstly, we import the HTTP module ad then create a server, where “req” is a request for incoming message and “res” is the response of the server. …

About

Mitusha Arya

Software Engineer | React JS | Node JS | Frontend Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store