refactor(system): changes to keep everything more tidy and less drilling

This commit is contained in:
2025-12-22 08:54:18 -06:00
parent a7be989b4f
commit 33ffdb2264
9 changed files with 826 additions and 63 deletions

View File

@@ -1,10 +1,11 @@
import express from "express";
import { setupRoutes } from "@/src/routes/routeHandler.route.js";
import { setupRoutes } from "./src/routeHandler.route.js";
const port = Number(process.env.PORT);
export const baseUrl = "";
const startApp = async () => {
const app = express();
const baseUrl = "";
setupRoutes(baseUrl, app);
app.listen(port, () => {