completed user admin page

This commit is contained in:
PxlLoewe
2025-03-15 11:09:55 -07:00
parent abf3475c7c
commit 37d02ea0bc
23 changed files with 567 additions and 106 deletions

View File

@@ -1,5 +1,17 @@
import "dotenv/config";
import "modules/chron";
import express from "express";
import cors from "cors";
import router from "routes/router";
// Add API eventually
console.log("VAR hub Server started");
const app = express();
app.use(express.json());
app.use(cors());
app.use(router);
const port = process.env.API_PORT || 3003;
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});