EC2 website & project proposal init

This commit is contained in:
MasterDefault committed 2026-10-05 12:06:04 -04:00
1 parent 8af93058df
commit 916ee92f90
17 files changed
+340 -14

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import express from "express";
import path from "node:path";
import { fileURLToPath } from "node:url";
const directory = path.dirname(fileURLToPath(import.meta.url));
const app = express();
const port = process.env.PORT || 3000;
app.use(express.static(path.join(directory, "public")));
app.listen(port, "0.0.0.0", () => {
console.log(`Group buttons website listening on port ${port}`);
});