1.0.12 • Published 2 years ago
@albanasaliu/pg-adapter v1.0.12
Postgresql Adapter
Helps establish database connections, either pool or client
Prerequisites
:warning: Warning: This package requires you to have the .env file available on your machine in order to run
Installation
To install and set up the library on your local machine, try running the following command:
npm i @albanasaliu/pg-adapter
Usage
After creating a new project run
npm init
Create an index.js file
Download the package
Import and run the package
import { postgresql_connection } from "@albanasaliu/pg-adapter/index.js";
postgresql_connection();
Running the app
node index.js