Setup logging with Pino and express-http-context in Expressjs
Logging is an essential tool for debugging and understanding the behavior of your application. It allows developers to capture information about the state and flow of an application, which can be used to identify and fix bugs, improve performance, and monitor the overall health of the application.
Understanding TTL Indexes in MongoDB comprehensively
Time to Live (TTL) indexes are special single-field indexes in MongoDB that help delete documents from a collection after a specific amount of time or at a given clock time. Data expiration is useful for certain types of information like machine generated event data, shopping carts, logs, and session information etc that only need to persist in a database for a finite amount of time.
My Queries: A better experience of Mongodb Aggregation in Mongodb Compass
MongoDB Compass, as of 2018, comes with an aggregation pipeline builder to help make prototyping and debugging easier. This feature allows developers to export their aggregations into different programming languages and use the code in their applications.
Deploy EC2 instance in a private subnet & securely communicate with Internet
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.
A Beginner's Guide to Macbook setup for web development
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.