basic frontend js
Some checks failed
Deploy Express API / deploy (push) Has been cancelled

This commit is contained in:
2025-11-24 19:20:15 -07:00
parent eaf76f94a1
commit a5fceda42f
3 changed files with 80 additions and 3 deletions

View File

@@ -1,8 +1,12 @@
//Starts
import express from "express";
import app from "./app.js";
const PORT = process.env.PORT || 7653;
// Serve static files from "public" folder
app.use(express.static('public'));
// Start the server
app.listen(PORT, () => {
console.log(`Transit API http://localhost:${PORT}`);
console.log(`Transit API running at http://localhost:${PORT}`);
});