Blog

Guides, notes and opinion pieces
guide∼2 min
Syncing with a massive Git upstream
If a repository has an extremely long history or large size in the version control, contributing to it becomes a challenge. If you execute git clone on it, Git will try to download the entire...
guide∼5 min
Uploading files with Spring Boot and Express
In a traditional microservice premise, a client application (e.g., an Angular frontend) rarely hits a backend service directly. Usually, a middleware (e.g., an Express application) sits between the...
guide∼6 min
Querying JSON documents in Oracle
Oracle added the native JSON support in the version 12c of their popular relational database system. With the help of new conditions and functions, you can create queries, indexes, transactions and...
guide∼6 min
Developing an API with Express and Postgres
Express is frequently used to create APIs in Node.js applications; these can be a middleware for a more traditional backend or an interface for the classic CRUD operations. In this post, we'll build...
guide∼1 min
Linting with TypeScript ESLint
TypeScript ESLint is the successor of TSLint, the linting tool exclusively developed for TypeScript. It leverages the existing JavaScript linting ecosystem and brings consistency across the tooling...
guide∼2 min
Logging on Node.js with log4js-node
console.log has been a prevalent anti-pattern inherited by Node.js developers from years of printing to the console on a browser. While this is useful for quick debugging, it doesn't sit well with...
guide∼2 min
Request logging with morgan
Imagine developing an Express application with several endpoints and remaining in the bind which of those were being used by the client application and when! Some form of logging can help in this...
guide∼12 min
Persisting documents with MongoRepository
Spring Data MongoDB provides a variety of ways to work with a MongoDB database: low-level MongoReader and MongoWriter APIs, and higher-level MongoTemplate and MongoOperations APIs that make use of...
guide∼2 min
Linting Sass with stylelint
Besides JavaScript or TypeScript, you can also lint the Sass (or SCSS) files, using a linter called stylelint. stylelint is a widely used linter that works with SCSS, Sass, Less and SugarSS. It...
guide∼2 min
Code Formatting with Prettier
Prettier is an opinionated code formatter that formats the code in a consistent style. It supports popular languages, libraries, and frameworks in the Node.js ecosystem and is widely used to enforce...