ci(build): added in dotenvx for env stuff

This commit is contained in:
2025-12-15 20:29:15 -06:00
parent 3bcc6f89b3
commit 77a9711309
3 changed files with 3961 additions and 20 deletions

View File

@@ -1,13 +1,14 @@
import express from "express";
import { setupRoutes } from "@/src/routes/routeHandler.route.js";
const port = Number(process.env.PORT);
const startApp = async () => {
const app = express();
const baseUrl = "";
setupRoutes(baseUrl, app);
app.listen(3000, () => {
console.log("Listening on port 3000");
app.listen(port, () => {
console.log(`Listening on port ${port}`);
});
};