Express JS

Chained Route Handlers using Express JS

Optimizing the routes code by Chaining multiple routes together. GET, POST, DELETE request routes are chained together as an example in this article. Refactoring... Read more »

DELETE Request to Delete DATA – REST API – Express Mongo

Deleting Data from the MongoDB database using REST API - DELETE REQUST. Express JS code for the REST API - data deletion code. DELETE... Read more »

POST Request to Insert DATA – REST API – Express Mongo

Inserting Data to the MongoDB database using REST API - POST REQUST. Express JS code for the REST API - data insertion code. INSERT... Read more »

Get Request – REST API – Express JS Mongo DB APP Code

Retrieving Data from the MongoDB database using REST API - GET REQUST. Express JS code for the REST API - data retrieving code. GET... Read more »

lodash package in Node JS

Lodash is a wonderful javascript library that makes it easier to work with arrays, strings, objects numbers etc. Lodash’s modular methods are great for:... Read more »

Todo List Project Code – Node, Express, EJS

We are creating a sample to-do list app using Node and Express JS. The templating for the app is done using Embedded Javascript (EJS).... Read more »

EJS Templating – Sample Express Task Listing App

In this post we gonna learn basics of EJS templating for Express JS App. We gonna code a task listing app for the current... Read more »

Display Current Day Name in Javascript – Node, Express, EJS

Print present day's name like Sunday, Monday in javascript app. Display the day name from the date library. In this post we also share... Read more »

Node Express JS App Boiler Plate Code

Boilerplate code for easily getting started with a new express js project. Here is the sample code you can use for the app.js, the... Read more »

Create JSON Data for POST request in Express

JSON refers to the JavaScript Object Notation. Data can be transferred over HTTPS as JSON. For this process firstly we need to convert our... Read more »