You can update all your npm packages with a few commands that I gonna show you today. In the NodeJS projects, you’ll have to update…
Sometimes we need to get data from MSSQL server using Hapi framework. Then we achieve this by installing the external plugin called mssql. 1. Install…
Hapi.js can handle both Http and Https while creating the server by default. But you can also use some plugin called https or http2 to…
I faced the same issue when I tried to test Hapi on my cloud container before. For my case, there has compatibility issue between Hapi…
First, you need to install the NVM on your machine before installing the Node.js. If you haven’t done so, please check my previous post here.…
NVM is a node version manager for node.js, designed to be installed per-user, and invoked per-shell according to the original creator. NVM works on these platforms:…
Let’s use the node-schedule plugin and I will show you guys how to configure the scheduler on Node.js server. First thing first, we need to…
One of the best ways to improve application performance is to configure the caching on the server. Let’s use the memory-cache plugin and we will configure…
How we can change the PM2 process name after started our Node.js application with PM?. By right, default process name will be “index” or “server”…
Today, I gonna show you guys how we can encode and decode (Base64) the string in Node.js project. First, you need to create the Node…