Files
botino/index.js
Lucas Tettamanti e6435a0f5a first commit
2026-01-01 20:02:08 -03:00

19 lines
369 B
JavaScript

"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}`);
});