JavaScript

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 »
root_express_thumb

How to get root directory path using Express JS Code

How to print or get the root project folder path while coding in express JS. The root folder is the main project folder where... Read more »
nodemon_thumb

nodemon – Utility for autoRestart Node Server on Code Changes

Nodemon is one of the most useful node packages that save a lot of time during code changes. Normally every time we make changes... Read more »
routes_express_thumb

Routes in Express JS Examples

Express routes helps to route incoming request to specific pages. There will be request and response parameters. Below you can find a sample code... Read more »
node_js_thumb

Node – Express JS Server

Create and express-js server. Express Js is a framework that helps building apps more easier using the node js. Steps for using Express: Create... Read more »