refactor(lst): refactored to be back to npm from bun

This commit is contained in:
2025-02-27 08:36:05 -06:00
parent 4c73fb0317
commit 379f7b836d
75 changed files with 15693 additions and 2705 deletions

11
database/dbclient.ts Normal file
View File

@@ -0,0 +1,11 @@
import {drizzle} from "drizzle-orm/postgres-js";
import postgres from "postgres";
import dotenv from "dotenv";
dotenv.config();
const database = process.env.DATABASE_URL || "";
const queryClient = postgres(database);
export const db = drizzle({client: queryClient});