skip to Main Content

First API using NODE.JS – Postgresql

I am creating my first api and I am getting this error somehow. ERROR db.js import { Pool } from 'pg'; const pool = new Pool ({ user:"kethia", host:"localhost", database:"regionapi", password:"Kethia", port:5432, }); export default pool; controllers/src/routes.js import express from…

VIEW QUESTION
Back To Top
Search