first commit

This commit is contained in:
2025-11-03 22:54:10 +03:00
commit 7edbab2689
21 changed files with 5760 additions and 0 deletions

13
server/db-init.js Normal file
View File

@@ -0,0 +1,13 @@
const { db, initialize } = require('./db');
initialize()
.then(() => {
console.log('Veritabani hazirlandi.');
})
.catch((err) => {
console.error('Veritabani hazirlama hatasi:', err);
process.exitCode = 1;
})
.finally(() => {
db.close();
});