first commit backend

This commit is contained in:
Cesar
2026-05-22 14:35:25 -06:00
parent f3b2214ea9
commit bb7e12005f
5 changed files with 1728 additions and 0 deletions

16
backend/src/app.ts Normal file
View File

@@ -0,0 +1,16 @@
import express from 'express';
const app = express();
const port = process.env.PORT ?? 3000;
app.use(express.json());
app.get('/', (_req, res) => {
res.json({
message: 'API funcionando con Express + TypeScript + TSX',
});
});
app.listen(port, () => {
console.log(`Servidor corriendo en http://localhost:${port}`);
});