Initial commit

This commit is contained in:
2025-01-14 23:15:37 +01:00
commit fa06c402e6
31 changed files with 25972 additions and 0 deletions

12
src/handlers/db.ts Normal file
View File

@ -0,0 +1,12 @@
import { PrismaClient } from '@prisma/client'; // Database
import config from "./config.js";
// TODO: Add errorhandling with some sort of message.
export const prisma = new PrismaClient({
datasources: {
db: {
url: config.global.db_connection_string
}
}
});