Category: Java Script

Configuration builder in NodeJS with TypeScript

Recently I worked on a small requirement (in my personal test learning proj) of creating a configuration builder that satisfies following requirements: Ability to read default configuration from a file Ability to read environment specific configuration from a file Ability to override any defaults by command line options Ability to override and/or access any defaults … Continue reading Configuration builder in NodeJS with TypeScript

Mongoose gotchas

I am using Mongoose since last few months and while querying MongoDB in Node.js and getting results. While doing that I came up with some cases that made me scratch my head for more than couple hours just to figure our it is little 'gotcha' (may be because I did not read through all the docs of … Continue reading Mongoose gotchas