Overview
In this article, we will understand how we can connect to PostgreSQL using Node.js application. We will start with setting up PostgreSQL in our local system and perform basic CRUD operations to interact with the PostgreSQL database.
Prerequisites
To start with this, we need the following conditions to be met:
Windows machine (or any other OS should work, just check the command/shortcuts accordingly), Node.js installed (you can check that by running node -v from your CLI), basic familiarity with JavaScript and CLI. Installing PostgreSQL on Windows machine Step 1 – Download PostgreSQL Visit the official PostgreSQL