updated directories and updated docker config
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
// static variables and imports
|
||||
import express from "express";
|
||||
|
||||
// temprary disabled import
|
||||
/*
|
||||
import {
|
||||
loginUser,
|
||||
createUser,
|
||||
updateUser,
|
||||
deleteUser,
|
||||
getAllUsers,
|
||||
loginUser,
|
||||
updateUser,
|
||||
} from "./user-mgmt_backend/database.js";
|
||||
*/
|
||||
|
||||
} from "../shared/database.js";
|
||||
import dotenv from "dotenv";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
@@ -32,8 +27,6 @@ app.listen(port, () => {
|
||||
console.log(`Server is running on http://localhost:${port}`);
|
||||
});
|
||||
|
||||
|
||||
|
||||
// -- here comes the main code --
|
||||
app.get("/", (req, res) => {
|
||||
res.render("index.ejs");
|
||||
|
Reference in New Issue
Block a user