🚀 Patch auto

This commit is contained in:
karim hassan
2025-08-24 23:00:40 +00:00
parent 92e6afff00
commit f1103d67a0
1314 changed files with 2511 additions and 562 deletions

11
backend/src/db.js Normal file
View File

@@ -0,0 +1,11 @@
import pg from 'pg';
const { Pool } = pg;
const pool = new Pool({
host: process.env.PGHOST || 'db',
port: Number(process.env.PGPORT || 5432),
user: process.env.PGUSER || 'postgres',
password: process.env.PGPASSWORD || 'postgres',
database: process.env.PGDATABASE || 'supersunday',
});
export default pool;