express.js setup

This commit is contained in:
Linus109
2025-12-05 20:10:06 +01:00
parent b4ac86068e
commit cc1af29e02
6 changed files with 15028 additions and 3 deletions

12
apps/server/src/app.ts Normal file
View File

@@ -0,0 +1,12 @@
import express, { Request, Response } from 'express';
const app = express();
const port = 3000;
app.get('/', (req: Request, res: Response) => {
res.send('Hello World!');
});
app.listen(port, () => {
console.log(`Example app listening on port ${port}`);
});