updated directories and updated docker config

This commit is contained in:
2025-07-01 16:44:36 +02:00
parent 7356342d0b
commit 60ba35a94e
395 changed files with 67423 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ import {
updateUser,
deleteUser,
getAllUsers,
} from "./database.js";
} from "../shared/database.js";
// Middleware to parse URL-encoded bodies (form submissions)
app.use(express.urlencoded({ extended: true }));
@@ -60,7 +60,6 @@ function allUsers() {
// Route to handle user login
app.post("/login", (req, res) => {
allUsers();
// Attempt to log in the user with provided credentials