feat: Error handling middleware
feat: Ability to get the db variable from everywhere with getDatabase function feat: Hello world when getting root url fix: Now mods model is able to communicate with db fix: fixed a syntax error in routes/mods.js file which caused sending two responses to the client
This commit is contained in:
parent
eb4be67c89
commit
306c87fca2
10 changed files with 315 additions and 19 deletions
|
|
@ -5,6 +5,7 @@
|
|||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"start-auto": "pnpx nodemon server.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
"license": "ISC",
|
||||
"packageManager": "pnpm@10.5.2",
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^11.8.1",
|
||||
"better-sqlite3": "^11.9.1",
|
||||
"express": "^4.21.2",
|
||||
"mysql": "^2.18.1"
|
||||
},
|
||||
|
|
@ -20,5 +21,8 @@
|
|||
"onlyBuiltDependencies": [
|
||||
"better-sqlite3"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.1.9"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue