Introduction to TypeScript API Testing with Jest and SuperTest
In my previous tutorial, we created a simple REST API in Node.js Express and used Mocha with the Chai assertion library to verify that the API work...
Posted on
Setting up TypeScript with ESLint & Prettier from Scratch
In my previous tutorial, we created a Node.js project with ESLint and Prettier from scratch. In this tutorial, we are going to do the same, but we’...
Posted on
Changing the Swap File Size in Ubuntu
In Linux, swap space is used when the system starts running out of physical memory (RAM). In that case, any inactive data stored in RAM are moved i...
Posted on
Configuring TypeScript in Node.js to Emit Native ESM Code
ECMAScript modules (ESM) support is now considered stable in Node.js and can be enabled by setting type to module in package.json. In this tutorial...
Posted on
Creating a Node.js Project with ESLint & Prettier from Scratch
In this tutorial, we are going to create a new Node.js project from scratch, install NVM, and setup ESLint and Prettier in Visual Studio Code, so t...
Posted on
Testing ECMAScript Modules Natively in Jest
In this tutorial, we’ll setup Jest to test a Node.js application that uses ECMAScript modules (ESM). Recent versions of Node.js have full support f...
Posted on