December 01, 2022 • 🍿 1 min read
To get all files in a folder and its sub-folders recursively using Node.js, you can use the fs.readdirSync() method in the fs module.
Continue reading →January 05, 2020 • 🍿 2 min read
MongoDB is really easy to work with. Today, we will see how to select only few fields out of a large document using mongo query
Continue reading →January 02, 2020 • 🍿 2 min read
We always want to go back in git history. Aren't we?. We will learn the trick to do so
Continue reading →December 30, 2019 • 🍿 2 min read
Spread operator becomes the defacto solution for creating immutable object in javascript. But make sure to have the caution, spread operator does mutate objects in specific cases. We will see it briefly.
Continue reading →November 15, 2019 • 🍿 1 min read
It's very easy to find a document in mongoDB by value, but do you know how easy is to find a document using case insensitive string
Continue reading →October 29, 2019 • 🍿 1 min read
In NoSQL, you can save different document in a single collection. Now if you want to find documents with specific field, how do you find that? There is an easy way, we will see it in example.
Continue reading →October 16, 2019 • 🍿 1 min read
Often, we want to rename the branch in Git. Totally we will see, one of the easiest way to do it for both local and remote branch
Continue reading →October 03, 2019 • 🍿 6 min read
Most of the SaaS single page applications have nested routes. We will see how to build nested routes in a react application using react router library
Continue reading →