feat: creates backend for the project

This commit is contained in:
vakabunga
2026-03-02 00:32:37 +03:00
parent 9d12702688
commit 4d67636633
24 changed files with 1735 additions and 0 deletions

10
backend/src/db/pool.ts Normal file
View File

@@ -0,0 +1,10 @@
import { Pool } from 'pg';
import { config } from '../config';
export const pool = new Pool({
host: config.db.host,
port: config.db.port,
database: config.db.database,
user: config.db.user,
password: config.db.password,
});