fix: docker container are starting

This commit is contained in:
2026-07-08 13:37:21 +02:00
parent c6bba8a40c
commit 3a5c16031a
18 changed files with 176 additions and 7710 deletions
+8 -8
View File
@@ -1,14 +1,14 @@
import express from "express";
import dotenv from "dotenv";
import {authenticate} from "../../services/tokenService.ts";
import {authenticate} from "../../services/tokenService";
import {
allProducts,
deleteProduct,
newProduct,
productDetails,
setAmount,
updateItem,
} from "./database/products.database.ts";
allProducts,
deleteProduct,
newProduct,
productDetails,
setAmount,
updateItem,
} from "./database/products.database";
import {GENERAL_ERROR_CODE, PRODUCT_ERROR_CODE} from "@stockhome/shared";
dotenv.config();
+2 -2
View File
@@ -1,7 +1,7 @@
import express from "express";
import dotenv from "dotenv";
import {authenticate} from "../../services/tokenService.js";
import {allStorages, deleteStorage, newStorage, updateStorage,} from "./database/storage.database.ts";
import {authenticate} from "../../services/tokenService";
import {allStorages, deleteStorage, newStorage, updateStorage,} from "./database/storage.database";
import {GENERAL_ERROR_CODE, STORAGE_ERROR_CODE} from "@stockhome/shared";
dotenv.config();
+2 -2
View File
@@ -1,7 +1,7 @@
import express from "express";
import dotenv from "dotenv";
import {authenticate, generateToken} from "../../services/tokenService.ts";
import {changePassword, findUser, getSettings, loginUser, updateSettings,} from "./database/users.database.ts";
import {authenticate, generateToken} from "../../services/tokenService";
import {changePassword, findUser, getSettings, loginUser, updateSettings,} from "./database/users.database";
import {GENERAL_ERROR_CODE, USER_ERROR_CODE} from "@stockhome/shared";
dotenv.config();