Recent Posts

First Git Push – Upload New Project to GitHub

Create Repository in Github.com In the local git project folder perform the following git commands, git init git...

Data Encryption in Express Mongo DB App

For the encryption and authentication for mongoose documents, we can use a package called mongoose-encryption. Refer: https://www.npmjs.com/package/mongoose-encryption Install...

REST API Delete – Remove Mongo DB Record

Delete a record in Mongo DB database using express js code. DELETE Request in REST API sample code...

REST API – PATCH – to Update some fields only in Mongo DB Record

PATCH request in REST API can be made to update particular fields in a particular record. It can...

Mongo DB “update()” not working – Alternative Code

Update() in mongo db is deprecated and it was used for updating a record. Now this function can...

REST API PUT – Update Mongo DB Record

Update a record in Mongo DB database using express js code. PUT Request in REST API sample code...

REST API – GET Specific DB Record – Using Dynamic URL Value

Query and retrieve a specific Mongo DB record using Express JS REST API. Mongo DB findOne() method usage...

Chained Route Handlers using Express JS

Optimizing the routes code by Chaining multiple routes together. GET, POST, DELETE request routes are chained together as...

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

Gradient Color Tools for Designers

Gradient designs and backgrounds looks great if right color combinations are selected. It time consuming to find the...