Category Archives: node

The proper way to use the node.js PostgreSQL module

In order to work with Postgres and node, Pg is the way to go. First, you need to install the pg module by running npm i pg. After that create a folder in your project and for now, let it name db. Inside that folder create an index.js file and add… Read more »

Your app using node-cron could be on a delayed fuse

EDIT:- node-cron version > 3.0 has resolved the issue Node cron (npm i node-cron)is an excellent library and it serves it purpose quite well unless you decide to use Time Zone dependent cron, then this library might expose you to a delayed bug as the code will work right 6… Read more »