first commit

This commit is contained in:
Lucas Tettamanti
2026-01-01 20:02:08 -03:00
commit e6435a0f5a
2 changed files with 39 additions and 0 deletions

18
index.js Normal file
View File

@@ -0,0 +1,18 @@
"use strict";
const express = require("express");
const app = express();
const PORT = process.env.PORT || 3000;
app.use(express.json());
app.get("/health", (_req, res) => {
res.json({ status: "ok" });
});
app.listen(PORT, () => {
// Registrar puerto para facilitar el seguimiento en logs.
console.log(`Servidor escuchando en http://localhost:${PORT}`);
});