JavaScript
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 »
Deleting Data from the MongoDB database using REST API - DELETE REQUST. Express JS code for the REST API - data deletion code. DELETE...
Read more »

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

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

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 »

module.exports is mainly used for exporting functions or data from a Module. It is basically done using module.exports keyword. This can be now shortened...
Read more »

module.exports is a javascript function created by the module system. It can be used to export function in a Module. Earlier we had discussed...
Read more »

Module.exports is used with creating new module in javascript. Certain functionality of the app can be moved to a separate module. And it can...
Read more »

Module details can be logged using some code in the node app. Here is the code to log the module details in the console....
Read more »