Initial commit: SubSplit - subscription split tracker

This commit is contained in:
2026-07-31 13:40:26 -07:00
commit 30eb44429c
29 changed files with 9081 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import express from 'express';
import path from 'path';
import { fileURLToPath } from 'url';
import dotenv from 'dotenv';
dotenv.config();
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const app = express();
const PORT = process.env.PORT || 8080;
app.use(express.static(path.join(__dirname, 'dist')));
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, 'dist', 'index.html'));
});
app.listen(PORT, () => {
console.log(`SubSplit running at http://localhost:${PORT}`);
});