initial webapp

This commit is contained in:
2025-07-15 18:58:21 +02:00
parent 835b73552b
commit 253111f741
32 changed files with 3885 additions and 77 deletions

8
lib/db/index.ts Normal file
View File

@@ -0,0 +1,8 @@
import { drizzle } from 'drizzle-orm/node-postgres';
import * as schema from './schema';
import 'dotenv/config';
export const db = drizzle(process.env.POSTGRES_URL!, { schema });
// Re-export schema types for convenience
export * from './schema';