JavaScript

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 »

HTML to React App — Convertion Steps

Create React App npx create-react-app app-name cd  app-name npm start Steps of conversion Copy paste css to index.cssCopy paste contents inside <body> to App.js  return dataReplace "class" with "className" ... Read more »

npx installation – Terminal Command

The npx stands for Node Package Execute and it comes with the npm. It is an npm package runner that can execute any package... Read more »