working with db, docker working, small error with personal data

This commit is contained in:
metacryst
2026-03-10 19:09:47 -05:00
parent 4d2c515b7d
commit 7cfcc01c99
25 changed files with 337 additions and 469 deletions

8
server/db/sql.js Normal file
View File

@@ -0,0 +1,8 @@
// server/db/sql.js
import postgres from 'postgres';
import 'dotenv/config'
console.log("url: ", process.env.LOCAL_DATABASE_URL)
const sql = postgres(process.env.LOCAL_DATABASE_URL);
export default sql;