initial commit
Some checks failed
Build Images and Deploy / Update-PROD-Stack (push) Failing after 17s

This commit is contained in:
2026-01-28 23:52:15 -05:00
commit 787c97a52f
13 changed files with 290 additions and 0 deletions

17
backend/src/index.js Normal file
View File

@@ -0,0 +1,17 @@
import express from 'express';
import cors from 'cors';
import dotenv from 'dotenv';
dotenv.config();
const app = express();
app.use(cors());
app.use(express.json());
app.get('/', (req, res) => {
res.json({ message: "What's The Point API" });
});
const PORT = process.env.PORT || 4000;
app.listen(PORT, () => {
console.log(`API running on port ${PORT}`);
});