feat(linting): adding in the checks to make me better and not so sloppy

This commit is contained in:
2025-12-22 15:59:49 -06:00
parent 6bb27e588d
commit a31b516538
14 changed files with 191 additions and 62 deletions

View File

@@ -0,0 +1,14 @@
import type { Express } from "express";
// import the routes and route setups
import { setupApiDocsRoutes } from "./configs/scaler.config.js";
import { setupProdSqlRoutes } from "./prodSql/prodSql.routes.js";
import stats from "./system/stats.route.js";
export const setupRoutes = (baseUrl: string, app: Express) => {
//setup all the routes
setupApiDocsRoutes(baseUrl, app);
setupProdSqlRoutes(baseUrl, app);
app.use(`${baseUrl}/api/stats`, stats);
};