Cookies and Sessions in Node Express JS, Mongo DB APP
Express JS
March 13, 2021
Sessions and cookies play a very important role in a web app. These are used to store information....
bcrypt – Password Hashing for Package for Node Apps
Express JS
March 12, 2021
bcrypt is a node library that enables password hashing. So we ca securely store the password of our...
nvm – To Switch Node Versions – Upgrade or Downgrade Node
Node JS
March 12, 2021
nvm refers to the Node Version Manager. It helps to manage the Node versions, we can switch between...
md5 Password hashing in Node Mongo APp
MongoDB
March 11, 2021
md5 is a javascript function for hashing messages, passwords with MD5. Passwords are saved securely in the mongo...
dotenv package – Environment Variables in Node JS App
MongoDB
March 11, 2021
Environment variables are used to keep the secret keys safe. While creating a Node JS app, we may...
First Git Push – Upload New Project to GitHub
GIT
March 10, 2021
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
Express JS
March 10, 2021
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
Express JS
March 9, 2021
Delete a record in Mongo DB database using express js code. DELETE Request in REST API sample code...
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
Express JS
March 9, 2021
Update() in mongo db is deprecated and it was used for updating a record. Now this function can...