All update about transportantion and style

This commit is contained in:
Yang Li
2025-07-04 14:13:25 -04:00
parent e4654be2b9
commit 98d86c0f70
76 changed files with 7477 additions and 693 deletions

View File

@@ -162,7 +162,13 @@ app.get('/medical/event-request/list', function (req,res) {
app.get('/medical/events/edit/:id', function (req,res) {
res.sendFile(path + "index.html");
});
app.get('events/create-from-request', function (req,res) {
app.get('/events/create-from-request', function (req,res) {
res.sendFile(path + "index.html");
});
app.get('/dashboard/dashboard', function (req,res) {
res.sendFile(path + "index.html");
});
app.get('/dashboard/admin-view', function (req,res) {
res.sendFile(path + "index.html");
});
app.get('/medical/events/:id', function (req,res) {
@@ -195,6 +201,9 @@ app.get('/seating', function (req,res) {
app.get('/center-calendar', function (req,res) {
res.sendFile(path + "index.html");
});
app.get('/info-screen', function (req,res) {
res.sendFile(path + "index.html");
});
require("./app/routes/user.routes")(app);
require("./app/routes/auth.routes")(app);
require("./app/routes/employee.routes")(app);
@@ -222,6 +231,10 @@ require("./app/routes/lunch.routes")(app);
require("./app/routes/vehicle-repair.route")(app);
require("./app/routes/seating.routes")(app);
require("./app/routes/label.routes")(app);
require("./app/routes/attendance-note.routes")(app);
require("./app/routes/carousel.routes")(app);
require("./app/scheduler/reminderScheduler");
// set port, listen for requests
const PORT = process.env.PORT || 8080;