pg-connect version 0.1
This repository contains examples for database connection and run SELECT query.
Getting Started
-
git clone the repository
-
npm install pg
-
In file pg-connect.js set credentials (user, host, database, password, port) to your own values.
-
node pg-connect.js