Login sequence and inventory/protocol storage groundwork

This commit is contained in:
2026-03-19 05:42:11 +00:00
parent 5b2c7e4506
commit 55bbd6909d
21 changed files with 3882 additions and 157 deletions

9
server/src/db/pool.ts Normal file
View File

@@ -0,0 +1,9 @@
import { Pool } from 'pg';
export const pool = new Pool({
connectionString: process.env.DATABASE_URL ||
'postgresql://labwise:labwise_dev_pw@localhost:5432/labwise_db',
max: 10,
idleTimeoutMillis: 30000,
connectionTimeoutMillis: 2000,
});