Restructured and organized the whole project, fixed SQLite database handler (now using better-sqlite3), made first model functions to interact with the database

This commit is contained in:
Gu://em_ 2025-03-10 22:51:57 +01:00
parent 99591a7191
commit 0ee5eedcfd
14 changed files with 140 additions and 854 deletions

View file

@ -4,6 +4,7 @@
"description": "",
"main": "server.js",
"scripts": {
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
@ -11,13 +12,13 @@
"license": "ISC",
"packageManager": "pnpm@10.5.2",
"dependencies": {
"better-sqlite3": "^11.8.1",
"express": "^4.21.2",
"mysql": "^2.18.1",
"sqlite3": "^5.1.7"
"mysql": "^2.18.1"
},
"pnpm": {
"ignoredBuiltDependencies": [
"sqlite3"
"onlyBuiltDependencies": [
"better-sqlite3"
]
}
}