<reponame>Nachitorey/mazer-main<filename>backend/backend.js<gh_stars>0const { Pool } = require('pg');

const pool = new Pool({
     host: 'localhost',
     user: 'postgres',
     password: '949d1u22cbffbrarjh182eig55721odj',
     database: 'lhihtpgb',
     port: '3000'
})

const getUsers = async(req, res) => {
    const response = await pool.query('SELECT * FROM Clientes');
    console.log(response.rows);
    res.send('Clientes');
}
module.exports = {
    getUsers
}
