const postgres = require('postgres');
const client = postgres('postgresql://jumpa_admin:JumpaS3cur3%21%40%23@127.0.0.1:5432/jumpadb');

async function test() {
    try {
        const result = await client`SELECT 1 as num`;
        console.log('Database Connection OK:', result);
    } catch (e) {
        console.error('Database Connection Error:', e);
    } finally {
        await client.end();
    }
}
test();
