Mongodb
Deploy EC2 in Private Subnet & Securely Enable Internet Communication
Mongodb Critical infrastructure like databases, application servers etc must be deployed securely in AWS and deploying ec2 instances in private subnet is a must. Instances launched in a private subnet have only private ip address (No public IP) and hence these instances can never be reached from internet.
Javascript
A Beginner's Guide to Macbook setup for web development
Javascript This is a beginner’s guide to setup Macbook for web development. The motivation for writing this guide is to help people get started with programming on a Mac, and as also a personal reference for myself.
Nodejs
A One Time Password (OTP) generator npm library based on nanoid
Nodejs Mobile number has become the defacto user authentication mechanism in India and hence, OTP generation is a very common use case. otp-gen-agent is a Nano ID based small utility lib to generate OTP (one time password).
Nodejs
Use NVM and .nvmrc for a better Javascript development
Nodejs Node Version Manager (NVM) is an open source version manager for Node.js (Node) and allows to easily install & manage different versions of Node and switch between them on a per-shell basis.
Nodejs
Async Operations with AbortController & AbortSignal in Nodejs
Nodejs AbortController is the standard way to abort any ongoing operations. AbortController and AbortSignal are now part of Nodejs LTS (originally introduced in v15.0.0). Modern apps usually don’t work in isolation. They interact with entities like other APIs, file system, network, databases, etc.