Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 846 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 846 Bytes

Node.js PostgreSQL Connection Example

This project demonstrates how to connect to a PostgreSQL database using Node.js. It establishes a connection to a local PostgreSQL server and queries data from a specified table.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js: Make sure you have Node.js installed on your machine. You can download it from nodejs.org.
  • PostgreSQL: You need to have PostgreSQL installed and running. You can download it from postgresql.org.
  • Database Setup: Ensure that you have a database named firstdb and a table named firstTable created in your PostgreSQL server.

Installation

Clone the repository:

git clone https://github.com/louwis-alfred/myNode.git
cd myNode