JavaScript

Specify Static Folder in Express JS

Static folder is used for keeping all the static files like css files, images etc. In express JS we mention the static folder in... Read more »

New Node JS Project Setup – Terminal Commands

Firstly open the terminal and go to our folder location. Create folder: eg: mkdir FruitsProject Move inside the folder using, cd FruitsProject Create entry... Read more »

Weather App JS Project – Full Code

Weather App project is a simple project for using weather API. This app is build using Express JS for learning beginners exploring APIs. This... Read more »

How to print the Status Code of API response

We may get response from an API while making an https request. We can do console.log and view the whole https response. Looking at... Read more »

How to send multiple lines of HTML in res.send – Javascript

We can send multiple lines of HTML through the res.send the response in node js. This can be done by using the res.write() Eg:... Read more »

Weather API – Node JS Sample API Project

In this project, we gonna create a weather updates webpage using Node & Express JS. We are using the weather API provided by OpenWeather.... Read more »

JSON Data

JSON refers to JavaScript Object Notation. Its mainly used for the purpose of passing data around the internet. Its made up of objects, key-value... Read more »
post_thumb

How to handle POST request in Express JS

POST request can be received to the server and response can be given to that using express js. eg: app.post("/", function(req, res){ res.send("Thanks for... Read more »

Route incoming request to an HTML file in Express JS

In this tutorial we gonna check how we can direct our incoming request to an html file. So here we gonna use express js's... Read more »
form_data_thumb

Handling Form Data POST request in Express

How to get form data using express js. POST form data and receive at the backend. Install bodyParser npm i body-parser For parsing the... Read more »