VogelSocialMedia/code/backend/src/server.ts
2025-04-29 22:43:03 +02:00

13 lines
285 B
TypeScript

import express, { Request, Response } from 'express';
const app = express();
const port = 3000;
app.get('/', (req: Request, res: Response) => {
res.send('Hallo, Welt mit TypeScript!');
});
app.listen(port, () => {
console.log(`Server läuft auf http://localhost:${port}`);
});